7.5
CWE
20
Advisory Published
Updated

CVE-2013-2185: Input Validation

First published: Sun Jan 19 2014(Updated: )

** DISPUTED ** The readObject method in the DiskFileItem class in Apache Tomcat and JBoss Web, as used in Red Hat JBoss Enterprise Application Platform 6.1.0 and Red Hat JBoss Portal 6.0.0, allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance, a similar issue to CVE-2013-2186. NOTE: this issue is reportedly disputed by the Apache Tomcat team, although Red Hat considers it a vulnerability. The dispute appears to regard whether it is the responsibility of applications to avoid providing untrusted data to be deserialized, or whether this class should inherently protect against this issue.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Tomcat<=7.0.39
JBoss Enterprise Application Platform=6.1.0
Red Hat JBoss Portal=6.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2013-2185?

    CVE-2013-2185 is considered a moderate severity vulnerability due to its potential for remote attackers to manipulate file writes.

  • How do I fix CVE-2013-2185?

    To mitigate CVE-2013-2185, upgrade to the latest versions of Apache Tomcat or Red Hat JBoss Enterprise Application Platform that address this issue.

  • What systems are affected by CVE-2013-2185?

    CVE-2013-2185 affects Apache Tomcat versions up to 7.0.39 and both Red Hat JBoss Enterprise Application Platform 6.1.0 and JBoss Portal 6.0.0.

  • What type of vulnerability is CVE-2013-2185?

    CVE-2013-2185 is a file write vulnerability that occurs due to improper handling of NULL bytes in file names.

  • Can CVE-2013-2185 be exploited remotely?

    Yes, CVE-2013-2185 can be exploited remotely, allowing attackers to write to arbitrary files.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203