RCE in Mock2easy Project
CVE-2020-7697
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.020 · 81.6th percentile
- Published
- 2020-07-29
This affects all versions of package mock2easy. a malicious user could inject commands through the _data variable: Affected Area require('../server/getJsonByCurl')(mock2easy, function (error, stdout) { if (error) { return res.json(500, error); } res.json(JSON.parse(stdout)); }, '', _data.interfaceUrl, query, _data.cookie,_data.interfaceType);
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.020, 81.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mock2easy Project
- Mock2easy — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 (Exploit, Third Party Advisory)
- www.npmjs.com/package/mock2easy (Third Party Advisory)