OS Command Injection in npm-programmatic - #VU28107

 

OS Command Injection in npm-programmatic - #VU28107

Published: May 20, 2020 / Updated: May 20, 2020


Vulnerability identifier: #VU28107
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to application does not properly sanitize input rules and passes it directly to an exec call on the install, uninstall and list functions. A remote attacker can supply a package with specially crafted package name to the application and execute arbitrary code in the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

npm-programmatic

Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References

Related Security Bulletins