CVE-2013-2186: Input Validation

Published Jun 16, 2013
·
Updated

A poison null byte flaw was found in the implementation of the DiskFileItem class. A remote attacker able to supply a serialized instance of the DiskFileItem class, which will be deserialized on a server, could use this flaw to write arbitrary content to any location on the server that is permitted by the user running the application server process.

Other sources

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.

GitHub

Affected Software

8 affected componentsFixes available
maven/commons-fileupload:commons-fileupload<1.3.1
1.3.1
redhat Jboss Enterprise Brms Platform=5.3.1
redhat Jboss Enterprise Portal Platform=4.3.0-cp07
redhat Jboss Enterprise Portal Platform=5.2.2
redhat Jboss Enterprise Portal Platform=6.0.0
redhat Jboss Enterprise Web Server=1.0.2
redhat Openshift<=3.1
Ubuntu Ubuntu=10.04

Event History

Jun 16, 2013
Data Sourced
via Red Hat·05:28 AM
DescriptionSeverityAffected Software
Oct 28, 2013
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
May 14, 2022
Advisory Published
via GitHub·03:52 AM
Mar 4, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-2186?

CVE-2013-2186 has been classified as a high severity vulnerability due to the potential for remote file writing by attackers.

2

How do I fix CVE-2013-2186?

To fix CVE-2013-2186, upgrade to commons-fileupload version 1.3.1 or later.

3

What software is affected by CVE-2013-2186?

CVE-2013-2186 affects various versions of Apache Commons FileUpload used in Red Hat JBoss BRMS, JBoss Portal, and Red Hat JBoss Web Server.

4

What type of vulnerability is CVE-2013-2186?

CVE-2013-2186 is classified as a poison null byte flaw that allows remote attackers to exploit file upload functionality.

5

Can CVE-2013-2186 impact my web server?

Yes, if you are running affected versions of Red Hat JBoss Web Server, you are at risk of the vulnerabilities described in CVE-2013-2186.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203