CVE-2018-12120
Description
Node.js: All versions prior to Node.js 6.15.0: Debugger port 5858 listens on any interface by default: When the debugger is enabled with `node --debug` or `node debug`, it listens to port 5858 on all interfaces by default. This may allow remote computers to attach to the debug port and evaluate arbitrary JavaScript. The default interface is now localhost. It has always been possible to start the debugger on a specific interface, such as `node --debug=localhost`. The debugger was removed in Node.js 8 and replaced with the inspector, so no versions from 8 and later are vulnerable.
Description as published by the source, in English.
Key facts
- Published
- 2018-11-28
- Last modified
- 2026-10-08
- Assigned by
- cve-request@iojs.org
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
4.3 %
higher than 90 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Nodejs | Node.js | ≥ 6.0.0, < 6.15.0 | Affected |
Weakness type
-
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
-
CWE-419: Unprotected Primary Channel
The product uses a primary channel for administration or restricted functionality, but it does not properly protect the channel.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1055: Process Injection
- T1056.004: Credential API Hooking
- T1176: Software Extensions
- T1195.001: Compromise Software Dependencies and Development Tools
- T1505.004: IIS Components
- T1505.005: Terminal Services DLL
- T1574.006: Dynamic Linker Hijacking
- T1574.013: KernelCallbackTable
- T1620: Reflective Code Loading
References
- http://www.securityfocus.com/bid/106040
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
- http://www.securityfocus.com/bid/106040
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
Attackers fetch Node.js from the official site to run their malware
Same product
2026-09-26
Since February 2026 Symantec's Threat Hunter Team has seen several actors use the signed Node.js runtime to run malware and keep it alive at governme…
-
SimpleHelp flaw exploited to spread malware across managed systems
Same product
2026-06-29
Blackpoint Cyber describes an intrusion that began with an authentication bypass in the SimpleHelp RMM tool and ended with two new malware components.
-
Microsoft warns of ZIP campaign against hospitality organisations
Same product
2026-06-25
Since April 2026 Microsoft has tracked a campaign against hospitality firms in Europe and Asia, where ZIP files with fake image shortcuts give persis…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.