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


Published: 2023-05-01

Vulnerability identifier: #VU75603

Vulnerability risk: Medium

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

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
http://fluidattacks.com/advisories/myers/
http://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