#VU76189 Code Injection in node-XMLHttpRequest - CVE-2020-28502
Published: May 16, 2023 / Updated: September 18, 2023
Vulnerability identifier: #VU76189
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2020-28502
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerable software:
node-XMLHttpRequest
node-XMLHttpRequest
Software vendor:
Michael de Wit
Michael de Wit
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when processing synchronous requests in xhr.send. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Remediation
Install updates from vendor's website.
External links
- https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938
- https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935
- https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936