#VU69354 Reliance on Reverse DNS Resolution for a Security-Critical Action in Node.js


Published: 2022-11-15

Vulnerability identifier: #VU69354

Vulnerability risk: Medium

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

CVE-ID: CVE-2022-43548

CWE-ID: CWE-350

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

Description

The vulnerability allows a remote attacker to perform DNS rebinding attacks.

The vulnerability exists due to improper validation of octal IP address within the Node.js rebinding protector for --inspec. A remote attacker can resolve the invalid octal address via DNS. When combined with an active --inspect session, such as when using VSCode, an attacker can perform DNS rebinding and execute arbitrary code in client's browser.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Node.js: 18.1.0 - 18.12.0, 18.4.0, 18.3.0, 18.2.0, 18.0.0, 17.9.0 - 17.9.1, 17.8.0, 17.7.0 - 17.7.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.1.0 - 16.18.0, 16.15.0 - 16.15.1, 16.14.0 - 16.14.2, 16.13.0 - 16.13.2, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.2.0, 16.0.0, 15.14.0, 15.13.0, 15.12.0, 15.11.0, 15.10.0, 15.9.0, 15.8.0, 15.7.0, 15.6.0, 15.5.0 - 15.5.1, 15.4.0, 15.3.0, 15.2.0 - 15.2.1, 15.1.0, 15.0.0 - 15.0.1, 14.2.0 - 14.21.0, 14.19.0 - 14.19.3, 14.18.0 - 14.18.3, 14.17.0 - 14.17.6, 14.16.0 - 14.16.1, 14.15.0 - 14.15.5, 14.14.0, 14.13.0 - 14.13.1, 14.12.0, 14.11.0, 14.10.0 - 14.10.1, 14.9.0, 14.8.0, 14.7.0, 14.6.0, 14.5.0, 14.4.0, 14.3.0, 14.1.0, 14.0.0


External links
http://nodejs.org/en/blog/vulnerability/november-2022-security-releases/


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