CVE Catalog

CVE-2018-7160

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
9.87%

95th percentile - higher than 95% of all known CVEs

Summary

The Node.js inspector in version 6.x and later is vulnerable to a DNS rebinding attack that could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer or another computer with network access to the machine running the Node.js process. A malicious website could use DNS rebinding to bypass same-origin-policy checks and allow HTTP connections to localhost or local network hosts. If a Node.js process with the debug port active is running on localhost or a local network host, the malicious website could connect to it as a debugger and gain full code execution access.

Risk Assessment

Full control over the Node.js process, potentially leading to remote code execution and system compromise.

Recommendation

Update Node.js to a version that includes a fix for this vulnerability and do not run processes with the debug port active in production environments.

Other vulnerabilities in Node.js

See all
Original NVD description (English source)

The Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS