Description
The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a crafted serialized Java object, which triggers an LDAP query to a third-party server.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
Jenkins CLI HTTP Java Deserialization Vulnerability
exploit/linux/misc/jenkins_ldap_deserialize
Exploit-DB 1
- Jenkins CLI - HTTP Java Deserialization (Metasploit) EDB-44642 · remote · May 17, 2018 · verified
GitHub 1 repository
-
r00t4dm/Jenkins-CVE-2016-9299 ★ 0 · Oct 12, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.20, < 2.32 | 2.32 | GHSA-2x9h-h3c4-wqqh |
| Maven | org.jenkins-ci.main:jenkins-core | < 2.19.3 | 2.19.3 | GHSA-2x9h-h3c4-wqqh |
References
- 44642 exploit
- [oss-security] 20161113 CVE request: Jenkins remote code execution vulnerability mailing-list
- 94281 vdb-entry
- [jenkinsci-advisories] 20161111 Re: Unauthenticated remote code execution vulnerability in Jenkins mailing-list
- FEDORA-2016-368780879d vendor-advisory
- https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-11-16
- [jenkinsci-advisories] 20161111 Unauthenticated remote code execution vulnerability in Jenkins mailing-list
- http://www.slideshare.net/codewhitesec/java-deserialization-vulnerabilities-the-forgotten-bug-class-deepsec-edition
- https://www.cloudbees.com/jenkins-security-advisory-2016-11-16
- [oss-security] 20161114 Re: CVE request: Jenkins remote code execution vulnerability mailing-list