CVE-2016-6798
XML External Entity Reference in Apache Sling
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.sling:org.apache.sling.xss, org.apache.sling:org.apache.sling.xss.compat | 1.0.12 and 1 more |
Show all 2 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.sling:org.apache.sling.xss | 1.0.12 |
| maven::GitHub Security Advisory Maven | org.apache.sling:org.apache.sling.xss.compat | 1.1.0 |
References
- http://www.securityfocus.com/bid/99873
- https://github.com/apache/sling-org-apache-sling-xss/commit/de32b144ad2be3367559f6184d560db42a220529
- https://github.com/jensdietrich/xshady-release/tree/main/CVE-2016-6798
- https://lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0@%3Cdev.sling.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2016-6798