Back to CVE catalog
CVE-2013-2185

Arbitrary file write via NULL byte in file name in DiskFileItem

Multiple products

At a glance

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

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
7.199%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ApachetomcatAffected versions:
≤ 7.0.39
Vendor:redhatjboss enterprise application platformAffected versions:
6.1.0
Vendor:redhatjboss enterprise portal platformAffected versions:
6.0.0
Vendor:Red HatRed Hat JBoss Enterprise Application Platform 6 for RHEL 5 ServerAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Enterprise Application Platform 6 for RHEL 6 ServerAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Enterprise Application Platform 6.1Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Portal 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Portal Platform 6.0Affected versions:Source does not specify a version range

1–8 of 8 · Page 1 of 1

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories13

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences