Arbitrary Code Injection
Affecting mongo-edit package, ALL versions
Do your applications use this vulnerable package?
Test your applications
Overview
mongo-edit
is a Log Utility.
Affected versions of the package are vulnerable to Arbitrary Code Injection due to unsafe use of the eval()
function. Node.js provides the eval()
function by default, and is used to translate strings into Javascript code. An attacker can craft a malicious payload to inject arbitrary commands.
Remediation
There is no fix version for mongo-edit
.
References
CVSS Score
6.5
medium severity
-
Attack VectorNetwork
-
Attack ComplexityLow
-
Privileges RequiredNone
-
User InteractionNone
-
ScopeUnchanged
-
ConfidentialityLow
-
IntegrityLow
-
AvailabilityNone
- Credit
- Cristian-Alexandru Staicu, Michael Pradel, Ben Livshits
- CWE
- CWE-94
- Snyk ID
- npm:mongo-edit:20160408
- Disclosed
- 08 Apr, 2016
- Published
- 01 May, 2017