CVE-2016-0792 Jenkins allows Deserialization of Untrusted Data via an XML File
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.main:jenkins-core Maven | All versions | 1.642.2 |
org.jenkins-ci.main:jenkins-core Maven | All versions | 1.642.2 |
org.jenkins-ci.main:jenkins-core Maven | From 1.643 | 1.650 |
org.jenkins-ci.main:jenkins-core Maven | From 1.643 | 1.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.
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-45rg-g72w-r393, MGASA-2016-0162.