CVE-2018-3149 Code injection in Java
Unauthenticated attackers can achieve remote code execution in Java SE via JNDI, requiring user interaction to compromise the runtime environment.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-3149?
CVE-2018-3149 is a high-severity code injection vulnerability in Canonical Ubuntu Linux, published on 17 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Vulnerability in the Java SE, Java SE Embedded, JRockit component of Oracle Java SE (subcomponent: JNDI). Supported versions that are affected are Java SE: 6u201, 7u191, 8u182 and 11; Java SE Embedded: 8u181; JRockit: R28.3.19. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Java SE, Java SE Embedded, JRockit. Successful attacks require human interaction from a person other than the attacker and while the vulnerability is in Java SE, Java SE Embedded, JRockit, attacks may significantly impact additional products. Successful attacks of this vulnerability can result in takeover of Java SE, Java SE Embedded, JRockit. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets (in Java SE 8), that load and run untrusted code (e.g. code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g. through a web service which supplies data to the APIs. CVSS 3.0 Base Score 8.3 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
Which versions are affected by CVE-2018-3149?
It affects 14 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Hp Xp7 Command View, Oracle Jdk, Oracle Jre, Oracle Jrockit and 8 more.
How do I fix CVE-2018-3149?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-3149 being exploited?
There is no known exploitation of CVE-2018-3149 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CLEANSTART-2026-ON81542, DEBIAN-CVE-2018-3149, GHSA-8jrq-fr7j-4qx5, MINI-6mp3-g25q-4wrh, MINI-hrqf-c8wp-3vm7, MINI-pr33-6jm9-34wx and 1 more.