Improper Restriction of XML External Entity Reference
CVE-2016-6798
Summary
Apache Sling is the XSS Protection API module. 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. This issue affects org.apache.sling:org.apache.sling.xss versions prior to 1.0.12 and org.apache.sling:org.apache.sling.xss.compat versions prior to 1.1.0.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-611 - Improper Restriction of XML External Entity Reference
Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.
References
Advisory Timeline
- Published