Vulnerability CVE-2020-7697


Published: 2020-07-29

Description:
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);

Type:

CWE-74

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Mock2easy project -> Mock2easy 

 References:
https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312
https://www.npmjs.com/package/mock2easy

Copyright 2024, cxsecurity.com

 

Back to Top