#VU16167 Cross-site scripting in Node.js


Published: 2018-11-29

Vulnerability identifier: #VU16167

Vulnerability risk: Low

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

CVE-ID: CVE-2018-12120

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when the Node.js debugger being enabled by passing the --debug or debug flags to Node.js. A remote attacker can make a change to default to localhost, attach to the debug feature and execute arbitrary JavaScript code.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation
Update to version 6.0.15.

Vulnerable software versions

Node.js: 6.14.0 - 6.14.4, 6.13.0 - 6.13.1, 6.9.0 - 6.9.5, 6.8.0 - 6.8.1, 6.7.0, 6.6.0, 6.5.0, 6.4.0, 6.3.0 - 6.3.1, 6.0.0, 6.1.0, 6.2.0 - 6.2.2


External links
http://nodejs.org/en/blog/vulnerability/november-2018-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