CVE-2018-1999001 Improper Input Validation in Jenkins

High 8.8 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions2.121.2
org.jenkins-ci.main:jenkins-core MavenAll versions2.121.2
org.jenkins-ci.main:jenkins-core MavenFrom 2.1222.132
org.jenkins-ci.main:jenkins-core MavenFrom 2.1222.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.

All Jenkins Jenkins vulnerabilities

Sources

Also known as GHSA-j8qv-mj4r-6fw4.

Is CVE-2018-1999001 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free