#VU75603 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in node-xml2js - CVE-2023-0842


Vulnerability identifier: #VU75603

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-0842

CWE-ID: CWE-1321

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
node-xml2js
Universal components / Libraries / Software for developers

Vendor: Marek Kubica

Description

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

The vulnerability exists due to application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited. A remote unauthenticated attacker can edit or add new properties to an object to execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-xml2js: 0.4.23


External links
https://fluidattacks.com/advisories/myers/
https://github.com/Leonidas-from-XIV/node-xml2js/


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.


Latest bulletins with this vulnerability