High, CVSS 7.3MavenPublished
Improper Restriction of XML External Entity Reference in Apache FOP
CVE-2017-5661 · GHSA-5hg8-r9vq-gjqp
- Affected
- Maven org.apache.xmlgraphics:fop < 2.2
- Fixed in
- 2.2· Vendor fix available
- Issue
- In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.
Recommended action: Upgrade to 2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.