7.5
HIGH

CVE-2018-8013

Published: 24/05/2018 Updated: 17/10/2018
CVSS v2 Base Score: 7.5 | Impact Score: 6.4 | Exploitability Score: 10
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9

Vulnerability Summary

In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.

A vulnerability in Apache Batik could allow an unauthenticated, remote attacker to access sensitive information on a targeted system.

The vulnerability is due to improper deserialization of untrusted data that is processed by the AbstractDocument subclass of the affected software. The AbstractDocument subclass accepts a string from the inputStream as the class name and then uses the string to call the no-arg constructor of the class. An attacker could exploit this vulnerability by sending a request that submits malicious input to the targeted system. An exploit could allow the attacker to access sensitive information, which could be used to conduct further attacks.

Apache has confirmed the vulnerability and released software updates.

Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Access Complexity: LOW
Authentication: NONE
Access Vector: NETWORK
Confidentiality Impact: PARTIAL
Integrity Impact: PARTIAL
Availability Impact: PARTIAL

Vulnerability Trend

Affected Products

Vendor Product Versions
ApacheBatik1.0, 1.1, 1.1.1, 1.5, 1.5.1, 1.6, 1.6.1, 1.7, 1.7.1, 1.8, 1.9, 1.9.1
CanonicalUbuntu Linux14.04
DebianDebian Linux7.0, 8.0, 9.0

Mitigation

Administrators are advised to apply the appropriate updates.

Administrators are advised to allow only trusted users to have network access.

Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.

Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

Administrators can help protect affected systems from external attacks by using a solid firewall strategy.

Administrators are advised to monitor affected systems.

Exploitation

To exploit this vulnerability, an attacker must send a request that submits malicious input to the targeted system, making exploitation more difficult in environments that restrict network access from untrusted sources.

References