patchminder
Proof of concept · GitHub CVE-2013-2186

Vulnerabilityin the commons-fileupload:commons-fileupload package.

Published 28 Oct 2013 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 12.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.3.1 or later
In plain words

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 now
  • Upgrade commons-fileupload:commons-fileupload (Maven) to 1.3.1 or later.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
commons-fileupload:commons-fileupload (Maven)
before 1.3.1
1.3.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Feb 2013
    CVE ID reserved by redhat.
  2. 28 Oct 2013
    Published in the CVE List.
  3. 8 Feb 2016
    First public proof of concept on GitHub.
  4. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
3 repositories
GitHubno warning signs foundGrrrDog/ACEDcup37 stars · created 8 Feb 2016Payload generator for Java Binary Deserialization attack with Commons FileUpload (CVE-2013-2186)
GitHubno warning signs foundsa1g0n1337/Payload_CVE_2013_21860 stars · created 23 Apr 2019Code generate payload for CVE-2013-2186
GitHubno warning signs foundsa1g0n1337/CVE_2013_21860 stars · created 23 Apr 2019Source code for CVE-2013-2186

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2013-2186: Vulnerability in the commons-fileupload:commons-fileupload package. https://patchminder.com/cve/cve-2013-2186/ (accessed 5 December 2026).