Related Vulnerabilities: CVE-2017-5661  

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.

Severity Medium

Remote Yes

Type Xml external entity injection

Description

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.

AVG-254 fop 2.1-1 2.2-1 Medium Fixed

21 May 2017 ASA-201705-19 AVG-254 fop Medium xml external entity injection

https://xmlgraphics.apache.org/security.html