CVE-2017-5662: Improper Restriction of XML External Entity Reference
(updated )
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.
References
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- www.securityfocus.com/bid/97948
- www.securitytracker.com/id/1038334
- access.redhat.com/errata/RHSA-2017:2546
- access.redhat.com/errata/RHSA-2017:2547
- access.redhat.com/errata/RHSA-2018:0319
- github.com/advisories/GHSA-qwgx-59jw-qfg9
- nvd.nist.gov/vuln/detail/CVE-2017-5662
- www.debian.org/security/2018/dsa-4215
- www.oracle.com/security-alerts/cpuoct2020.html
- xmlgraphics.apache.org/security.html
Detect and mitigate CVE-2017-5662 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →