Spoofing attack in Node.js - CVE-2018-12123
Published: November 29, 2018
Vulnerability identifier: #VU16170
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12123
CWE-ID: CWE-451
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The disclosed vulnerability allows a remote attacker to conduct spoofing attack on the target system.
The vulnerability exists due to security decisions are made about the URL based on the hostname. A remote attacker can use a mixed case "javascript:" (e.g. "javAscript:") protocol and spoof the hostname when a Node.js application is using url.parse()to determine the URL hostname.
Affected software
Node.js
Gentoo Linux
Opensuse
IBM Cloud Transformation Advisor
nodejs-current (Alpine package)
rh-nodejs8-nodejs (Red Hat package)
Gentoo Linux
Opensuse
IBM Cloud Transformation Advisor
nodejs-current (Alpine package)
rh-nodejs8-nodejs (Red Hat package)
How to mitigate CVE-2018-12123
The vulnerability has been fixed in the versions 6.15.0, 8.14.0, 10.14.0, 11.3.0.
Node.js - addressed in versions 6.15.0, 8.14.0, 10.14.0, 11.3.0
IBM Cloud Transformation Advisor - update to 1.9.2
nodejs-current (Alpine package) - update to 11.3.0-r0
rh-nodejs8-nodejs (Red Hat package) - update to 8.16.0-1.el7
IBM Cloud Transformation Advisor - update to 1.9.2
nodejs-current (Alpine package) - update to 11.3.0-r0
rh-nodejs8-nodejs (Red Hat package) - update to 8.16.0-1.el7
External References
Related Security Bulletins
- Multiple vulnerabilities in Node.js
- OpenSUSE Linux update for nodejs4
- OpenSUSE Linux update for nodejs8
- OpenSUSE Linux update for nodejs6
- Gentoo update for Node.js
- Spoofing attack in nodejs-current (Alpine package)
- Multiple vulnerabilities in IBM Cloud Transformation Advisor
- Red Hat Software Collections update for rh-nodejs8-nodejs