ID CVE-2018-7160
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:nodejs:node.js:6.9.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.9.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.9.2:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.9.3:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.9.4:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.4:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.9.5:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.9.5:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.10.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.10.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.10.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.10.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.10.2:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.10.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.10.3:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.10.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.2:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.3:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.4:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.4:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.11.5:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.11.5:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.12.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.12.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.12.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.12.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.12.2:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.12.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.12.3:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.12.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.13.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.13.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.13.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:6.13.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.9.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.9.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.9.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.9.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.9.2:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.9.2:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.9.3:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.9.3:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.9.4:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.9.4:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.10.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:8.10.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.0.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.0.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.1.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.1.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.2.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.2.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.2.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.2.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.2.2:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.2.2:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.3.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.3.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.3.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.3.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.4.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.4.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.5.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.5.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.6.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.6.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.7.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.7.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.8.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.8.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:6.8.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:6.8.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.0.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.0.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.1.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.1.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.1.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.1.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.1.2:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.1.2:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.1.3:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.1.3:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.1.4:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.1.4:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.2.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.2.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.2.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.2.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.3.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.3.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.4.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.4.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.5.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.5.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.6.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.6.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.7.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.7.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:8.8.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:8.8.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.0.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.0.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.1.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.1.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.2.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.2.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.2.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.2.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.3.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.3.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.4.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.4.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.5.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.5.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.6.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.6.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.6.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.6.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:-:*:*:*
CVSS
Base: 6.8 (as of 16-08-2022 - 13:01)
Impact:
Exploitability:
CWE CWE-290
CAPEC
  • Man in the Middle Attack
    This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never observed. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components. MITM attacks differ from sniffing attacks since they often modify the communications prior to delivering it to the intended recipient. These attacks also differ from interception attacks since they may forward the sender's original unmodified data, after copying it, instead of keeping it for themselves.
  • Signature Spoof
    An attacker generates a message or datablock that causes the recipient to believe that the message or datablock was generated and cryptographically signed by an authoritative or reputable source, misleading a victim or victim operating system into performing malicious actions.
  • Creating a Rogue Certification Authority Certificate
    An adversary exploits a weakness in the MD5 hash algorithm (weak collision resistance) to generate a certificate signing request (CSR) that contains collision blocks in the "to be signed" part. The adversary specially crafts two different, but valid X.509 certificates that when hashed with the MD5 algorithm would yield the same value. The adversary then sends the CSR for one of the certificates to the Certification Authority which uses the MD5 hashing algorithm. That request is completely valid and the Certificate Authority issues an X.509 certificate to the adversary which is signed with its private key. An adversary then takes that signed blob and inserts it into another X.509 certificate that the attacker generated. Due to the MD5 collision, both certificates, though different, hash to the same value and so the signed blob works just as well in the second certificate. The net effect is that the adversary's second X.509 certificate, which the Certification Authority has never seen, is now signed and validated by that Certification Authority. To make the attack more interesting, the second certificate could be not just a regular certificate, but rather itself a signing certificate. Thus the adversary is able to start their own Certification Authority that is anchored in its root of trust in the legitimate Certification Authority that has signed the attackers' first X.509 certificate. If the original Certificate Authority was accepted by default by browsers, so will now the Certificate Authority set up by the adversary and of course any certificates that it signs. So the adversary is now able to generate any SSL certificates to impersonate any web server, and the user's browser will not issue any warning to the victim. This can be used to compromise HTTPS communications and other types of systems where PKI and X.509 certificates may be used (e.g., VPN, IPSec).
  • Exploitation of Trusted Credentials
    Attacks on session IDs and resource IDs take advantage of the fact that some software accepts user input without verifying its authenticity. For example, a message queuing system that allows service requesters to post messages to its queue through an open channel (such as anonymous FTP), authorization is done through checking group or role membership contained in the posted message. However, there is no proof that the message itself, the information in the message (such group or role membership), or indeed the process that wrote the message to the queue are authentic and authorized to do so. Many server side processes are vulnerable to these attacks because the server to server communications have not been analyzed from a security perspective or the processes "trust" other systems because they are behind a firewall. In a similar way servers that use easy to guess or spoofable schemes for representing digital identity can also be vulnerable. Such systems frequently use schemes without cryptography and digital signatures (or with broken cryptography). Session IDs may be guessed due to insufficient randomness, poor protection (passed in the clear), lack of integrity (unsigned), or improperly correlation with access control policy enforcement points. Exposed configuration and properties files that contain system passwords, database connection strings, and such may also give an attacker an edge to identify these identifiers. The net result is that spoofing and impersonation is possible leading to an attacker's ability to break authentication, authorization, and audit controls on the system.
  • Web Services API Signature Forgery Leveraging Hash Function Extension Weakness
    When web services require callees to authenticate, they sometimes issue a token / secret to the caller that the caller is to use to sign their web service calls. In one such scheme the caller when constructing a request would concatenate all of the parameters passed to the web service with the provided authentication token and then generate a hash of the concatenated string (e.g., MD5, SHA1, etc.). That hash then forms the signature that is passed to the web service which is used on the server side to verify the origin authenticity and integrity of the message. There is a practical attack against an authentication scheme of this nature that makes use of the hash function extension / padding weakness. Leveraging this weakness, an attacker, who does not know the secret token, is able to modify the parameters passed to the web service by generating their own call and still generate a legitimate signature hash. For instance, consider the message to be passed to the web service is M (this message includes the parameters passed to the web service concatenated with the secret token / key bytes). The message M is hashed and that hash is passed to the web service and is used for authentication. The attacker does not know M, but can see Hash (M) and Length (M). The attacker can then compute Hash (M || Padding (M) || M') for any M'. The attacker does not know the entire message M, specifically the attacker does not know the secret bytes, but that does not matter. The attacker is still able to sign their own message M' and make the called web service verify the integrity of the message without an error. Because of the iterative design of the hash function, it is possible, from only the hash of a message and its length, to compute the hash of longer messages that start with the initial message and include the padding required for the initial message to reach a multiple of 512 bits. It is important to note that the attack not limited to MD5 and will work just as well with another hash function like SHA1.
  • Signature Spoofing by Misrepresentation
    An attacker exploits a weakness in the parsing or display code of the recipient software to generate a data blob containing a supposedly valid signature, but the signer's identity is falsely represented, which can lead to the attacker manipulating the recipient software or its victim user to perform compromising actions.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Exploiting Trust in Client
    An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
redhat via4
rpms
  • rh-nodejs8-nodejs-0:8.11.4-1.el7
  • rh-nodejs8-nodejs-debuginfo-0:8.11.4-1.el7
  • rh-nodejs8-nodejs-devel-0:8.11.4-1.el7
  • rh-nodejs8-nodejs-docs-0:8.11.4-1.el7
  • rh-nodejs8-npm-0:5.6.0-8.11.4.1.el7
refmap via4
confirm
Last major update 16-08-2022 - 13:01
Published 17-05-2018 - 14:29
Last modified 16-08-2022 - 13:01
Back to Top