#VU76189 Code Injection in node-XMLHttpRequest


Published: 2023-09-18

Vulnerability identifier: #VU76189

Vulnerability risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-28502

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
node-XMLHttpRequest
Web applications / JS libraries

Vendor: 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.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-XMLHttpRequest: 1.3.0 - 1.6.3


External links
http://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938
http://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935
http://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability