CVE-2018-7160

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability95. percentile9.5%
ProductNodejs Node.js
PublishedMay 17, 2018
First seenMay 17, 2018
Weakness typeCWE-350CWE-350

How to fix

Update
  • nodejs node.js6.14.0, 8.11.0, 9.10.0 or later

Affected products

ProductAffected versionsFixed in
nodejs node.js6.0.0 ≤ v ≤ 6.8.1, 6.9.0 ≤ v < 6.14.0, 8.0.0 ≤ v ≤ 8.8.1, 8.9.0 ≤ v < 8.11.0, 9.0.0 ≤ v < 9.10.06.14.0, 8.11.0, 9.10.0
node-inspectornpm6.0 ≤ v—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2018-7160 · Nodejs Node.js · Dark Radar