CVE-2016-0792 Jenkins allows Deserialization of Untrusted Data via an XML File

High 8.8 Published Updated

Remote authenticated users can execute arbitrary code via serialized data in XML files, requiring Jenkins administrators to upgrade immediately.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-0792?

CVE-2016-0792 is a high-severity unsafe deserialization vulnerability in Jenkins Jenkins, published on 7 Apr 2016. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple unspecified API endpoints in Jenkins before 1.650 and LTS before 1.642.2 allow remote authenticated users to execute arbitrary code via serialized data in an XML file, related to XStream and groovy.util.Expando.

Weakness: CWE-20

Which versions are affected by CVE-2016-0792?

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 versions1.642.2
org.jenkins-ci.main:jenkins-core MavenAll versions1.642.2
org.jenkins-ci.main:jenkins-core MavenFrom 1.6431.650
org.jenkins-ci.main:jenkins-core MavenFrom 1.6431.650

Products include Jenkins Jenkins, Redhat Openshift.

How do I fix CVE-2016-0792?

Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 1.642.2 or 1.650.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2016-0792 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-0792 exists.

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 2 proofs of concept on GitHub.

All Jenkins Jenkins vulnerabilities

Sources

Also known as GHSA-45rg-g72w-r393, MGASA-2016-0162.

Is CVE-2016-0792 in your software?

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

Check your SBOMs for free