CVE-2017-5662 Improper Restriction of XML External Entity Reference in Apache Batik
HighCVSS 7.3
EPSS 4.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.xmlgraphics/batik(Maven) | < 1.9 | 1.9 |
| debian/batik(Debian:12) | < 1.9-1 | 1.9-1 |
| debian/batik(Debian:14) | < 1.9-1 | 1.9-1 |
| debian/batik(Debian:13) | < 1.9-1 | 1.9-1 |
| apache batik | <= 1.8 | No fix listed |
| Apache Batik | = before 1.9 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- RHSA-2017:2546 vendor-advisory
- RHSA-2017:2547 vendor-advisory
- RHSA-2018:0319 vendor-advisory
- DSA-4215 vendor-advisory
- www.oracle.com
- xmlgraphics.apache.org patch vendor-advisory
- www.oracle.com
- www.oracle.com
- www.oracle.com
- 97948 third-party-advisory vdb-entry
- 1038334 vdb-entry
- github.com
- Debian Security Tracker CVE-2017-5662 vendor-advisory
- bugs.debian.org issue-tracking