Skip to content

CVE-2017-5661 Improper Restriction of XML External Entity Reference in Apache FOP

HighCVSS 7.3 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
org.apache.xmlgraphics/fop(Maven) < 2.2 2.2
debian/fop(Debian:12) < 1:2.1-6 1:2.1-6
debian/fop(Debian:14) < 1:2.1-6 1:2.1-6
debian/fop(Debian:13) < 1:2.1-6 1:2.1-6
org.apache.xmlgraphics/fop(Maven) = 0.93 No fix listed
org.apache.xmlgraphics/fop(Maven) = 0.94 No fix listed
org.apache.xmlgraphics/fop(Maven) = 0.95 No fix listed
org.apache.xmlgraphics/fop(Maven) = 0.95-1 No fix listed
org.apache.xmlgraphics/fop(Maven) = 0.95beta No fix listed
org.apache.xmlgraphics/fop(Maven) = 0.95beta-1 No fix listed
org.apache.xmlgraphics/fop(Maven) = 1.0 No fix listed
org.apache.xmlgraphics/fop(Maven) = 1.1 No fix listed
org.apache.xmlgraphics/fop(Maven) = 2.0 No fix listed
org.apache.xmlgraphics/fop(Maven) = 2.1 No fix listed
apache formatting objects processor <= 2.1 No fix listed
Apache FOP = before 2.2 No fix listed

References