CVE-2013-2185
What it is
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
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 7.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 7.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 7.2% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Apache Tomcat ≤ 7.0.39
- Redhat Jboss Enterprise Application Platform 6.1.0
- Redhat Jboss Enterprise Portal Platform 6.0.0
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-2185.md and follow it. Check whether this project is affected by CVE-2013-2185. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://rhn.redhat.com/errata/RHSA-2013-1193.html
- http://rhn.redhat.com/errata/RHSA-2013-1194.html
- http://rhn.redhat.com/errata/RHSA-2013-1265.html
- http://rhn.redhat.com/errata/RHSA-2013-1193.html
- http://rhn.redhat.com/errata/RHSA-2013-1194.html
- http://rhn.redhat.com/errata/RHSA-2013-1265.html
References
- http://openwall.com/lists/oss-security/2014/10/24/12
- http://rhn.redhat.com/errata/RHSA-2013-1193.html
- http://rhn.redhat.com/errata/RHSA-2013-1194.html
- http://rhn.redhat.com/errata/RHSA-2013-1265.html
- http://www.openwall.com/lists/oss-security/2013/09/05/4
- http://openwall.com/lists/oss-security/2014/10/24/12
- http://rhn.redhat.com/errata/RHSA-2013-1193.html
- http://rhn.redhat.com/errata/RHSA-2013-1194.html
- http://rhn.redhat.com/errata/RHSA-2013-1265.html
- http://www.openwall.com/lists/oss-security/2013/09/05/4