CVE-2016-6798 XML External Entity Reference in Apache Sling
CriticalCVSS 9.8
EPSS 3.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling/org.apache.sling.xss(Maven) | < 1.0.12 | 1.0.12 |
| org.apache.sling/org.apache.sling.xss.compat(Maven) | < 1.1.0 | 1.1.0 |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.0 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.2 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.4 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.6 | No fix listed |
| org.apache.sling/org.apache.sling.xss(Maven) | = 1.0.8 | No fix listed |
| org.apache.sling/org.apache.sling.xss.compat(Maven) | = 1.0.0 | No fix listed |
| apache sling | <= 1.0.10 | No fix listed |
| Apache Sling | = prior to 1.0.12 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org
- 99873 third-party-advisory vdb-entry
- github.com patch
- github.com exploit
- github.com
- lists.apache.org