GitHub Advisoryadvisory · Maven

GHSA-qwgx-59jw-qfg9 Improper Restriction of XML External Entity Reference in Apache Batik

HIGH Published 2022-05-13 Modified 2022-07-01 Official page ↗
Aliases
CVE-2017-5662
Ecosystem
Maven
Packages
org.apache.xmlgraphics:batik
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
Weaknesses
CWE-611
Reviewed
2022-07-01

Affected packages

• Maven org.apache.xmlgraphics:batik: < 1.9 → fixed in 1.9

Description

In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

Related

Alias · CVE (1)

  • CVE-2017-5662 In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send… vulnerability

Weakness · CWE (1)

  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References