XXE in Apache Batik
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 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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS: 0.041 (90.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.054 · newest: 0.041 · change: -0.013
Affected products
- Apache Batik
- Apache Software Foundation Batik — versions before 1.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2017:2547 (vendor-advisory)
- access.redhat.com/errata/RHSA-2018:0319 (vendor-advisory)
- www.securitytracker.com/id/1038334 (vdb-entry)
- www.debian.org/security/2018/dsa-4215 (vendor-advisory)
- access.redhat.com/errata/RHSA-2017:2546 (vendor-advisory)
- www.securityfocus.com/bid/97948 (VDB Entry, Third Party Advisory, vdb-entry)
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- xmlgraphics.apache.org/security.html (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2017-5662?
- CVE-2017-5662 is a high-severity vulnerability in Apache Batik, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 7.3/10. Published 2017-04-18.
- How severe is CVE-2017-5662?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2017-5662 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.