Node.js up to 6.14.x Debugger --debug=localhost 7pk security
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in Node.js up to 6.14.x. Affected by this vulnerability is an unknown functionality of the component Debugger. The manipulation of the argument --debug=localhost leads to 7pk security. This vulnerability is traded as CVE-2018-12120. It is possible to initiate the attack remotely. There is no exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability was found in Node.js up to 6.14.x (JavaScript Library). It has been rated as critical. This issue affects some unknown processing of the component Debugger. The manipulation of the argument --debug=localhost with an unknown input leads to a 7pk security vulnerability. Using CWE to declare the problem leads to CWE-254. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 11/28/2018. The weakness was shared 11/28/2018 as November 2018 Security Releases as confirmed blog post (Website). It is possible to read the advisory at nodejs.org. The vendor cooperated in the coordination of the public release. The identification of this vulnerability is CVE-2018-12120 since 06/11/2018. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1211 according to MITRE ATT&CK. The advisory points out:
All versions of Node.js 6 are vulnerable and the severity is HIGH. 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.
The vulnerability scanner Nessus provides a plugin with the ID 119511 (FreeBSD : node.js -- multiple vulnerabilities (2a86f45a-fc3c-11e8-a414-00155d006b02)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 172114 (OpenSUSE Security Update for nodejs6 (openSUSE-SU-2019:0234-1)).
Upgrading to version 6.15.0, 8.x, 10.x or 11.x eliminates this vulnerability.Addressing this vulnerability is possible by firewalling 5858. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (119511) and SecurityFocus (BID 106040†). The entries VDB-126937, VDB-127258, VDB-127260 and VDB-127261 are related to this item. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB Meta Temp Score: 7.5
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: 7pk securityCWE: CWE-254
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 119511
Nessus Name: FreeBSD : node.js -- multiple vulnerabilities (2a86f45a-fc3c-11e8-a414-00155d006b02)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Node.js 6.15.0/8.x/10.x/11.x
Firewalling: 🔍
Timeline
06/11/2018 🔍11/27/2018 🔍
11/28/2018 🔍
11/28/2018 🔍
11/28/2018 🔍
11/28/2018 🔍
11/29/2018 🔍
12/10/2018 🔍
04/15/2020 🔍
Sources
Advisory: November 2018 Security ReleasesStatus: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2018-12120 (🔍)
GCVE (CVE): GCVE-0-2018-12120
GCVE (VulDB): GCVE-100-127259
SecurityFocus: 106040 - Node.js Debugger CVE-2018-12120 Security Bypass Vulnerability
See also: 🔍
Entry
Created: 11/29/2018 07:43Updated: 04/15/2020 18:40
Changes: 11/29/2018 07:43 (79), 04/15/2020 18:40 (4)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.