This affects all versions of package wincred. If attacker-controlled user input is given to the getCredential function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
References
Link | Resource |
---|---|
https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20 | Broken Link |
https://snyk.io/vuln/SNYK-JS-WINCRED-1078538 | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-06-28 08:15
Updated : 2022-07-12 17:42
NVD link : CVE-2021-23399
Mitre link : CVE-2021-23399
CVE.ORG link : CVE-2021-23399
JSON object : View
Products Affected
wincred_project
- wincred
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')