Skip to content
OpenAdvisories
High · 7.3 CVE-2017-5661 EUVD-2022-2596GHSA-5hg8-r9vq-gjqp

Improper Restriction of XML External Entity Reference in Apache FOP

Published Apr 18, 2017 · Updated Aug 5, 2024 · Assigned by apache

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

VendorProductAffectedFixed
Apache Software Foundation Apache FOP before 2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fop 1:2.1-6 —
Debian 13 fop 1:2.1-6 —
Debian 12 fop 1:2.1-6 —
Debian 8 fop 1:1.1.dfsg2-1+deb8u1 DSA-3864-1
Debian 7 fop 1:1.0.dfsg2-6+deb7u1 DLA-927-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS fop No fix yet —
Ubuntu 14.04 LTS fop 1:1.1.dfsg-2ubuntu1.1 USN-3281-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.xmlgraphics:fop < 2.2 2.2 GHSA-5hg8-r9vq-gjqp

Advisories 3

References