CVE-2018-1999001 Improper Input Validation in Jenkins
Attackers can trigger a configuration file move to force Jenkins into legacy mode, granting anonymous administrator access.
- 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-1999001?
CVE-2018-1999001 is a high-severity authentication bypass vulnerability in Jenkins Jenkins, published on 23 Jul 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
A unauthorized modification of configuration vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in User.java that allows attackers to provide crafted login credentials that cause Jenkins to move the config.xml file from the Jenkins home directory. If Jenkins is started without this file present, it will revert to the legacy defaults of granting administrator access to anonymous users.
Which versions are affected by CVE-2018-1999001?
4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.main:jenkins-core Maven | All versions | 2.121.2 |
org.jenkins-ci.main:jenkins-core Maven | All versions | 2.121.2 |
org.jenkins-ci.main:jenkins-core Maven | From 2.122 | 2.132 |
org.jenkins-ci.main:jenkins-core Maven | From 2.122 | 2.132 |
Products include Jenkins Jenkins, Oracle Communications Cloud Native Core Automated Test Suite.
How do I fix CVE-2018-1999001?
Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.121.2 or 2.132.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-1999001 being exploited?
There is no known exploitation of CVE-2018-1999001 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Jenkins
- CVE-2024-23897 Jenkins Command Line Interface (CLI) Path Traversal
- CVE-2018-1000861 Jenkins Stapler Web Framework Deserialization of Untrusted Data
- CVE-2017-1000353 Jenkins Remote Code Execution
- CVE-2015-5317 Jenkins User Interface (UI) Information Disclosure
- CVE-2021-21690 Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins
Sources
Also known as GHSA-j8qv-mj4r-6fw4.