Insecure SAX Parser in XSS.getValidXML() Method Allows for XXE Attacks in Apache Sling

Insecure SAX Parser in XSS.getValidXML() Method Allows for XXE Attacks in Apache Sling

CVE-2016-6798 · HIGH Severity

AV:N/AC:L/AU:N/C:P/I:P/A:P

In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX parser to validate the input string, which allows for XXE attacks in all scripts which use this method to validate user input, potentially allowing an attacker to read sensitive data on the filesystem, perform same-site-request-forgery (SSRF), port-scanning behind the firewall or DoS the application.

Learn more about our Cis Benchmark Audit For Apache Http Server.