CVE-2016-6798
XML External Entity Reference in Apache Sling
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling » org.apache.sling.xss | < 1.0.12 | 1.0.12 |
| org.apache.sling » org.apache.sling.xss.compat | < 1.1.0 | 1.1.0 |
Blast radius
48% of the dependent artifacts (12) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 21 |
| 2 hops | 53 |
| 3 hops | 42 |
| 4 hops | 40 |
Most used dependents
- org.apache.sling » org.apache.sling.testing.clients26 usages
- com.adobe.cq » aem-cloud-testing-clients12 usages
- org.apache.sling » org.apache.sling.testing.rules7 usages
- com.icfolson.aem.library » aem-library-core6 usages
- com.adobe.cq » cq-testing-clients-654 usages
- com.adobe.cq » aem-selenium-it-base3 usages
- com.icfolson.aem.library » aem-library-models3 usages
- com.adobe.cq » core.wcm.components.it.e2e-selenium-utils2 usages
- com.adobe.qe » aem-td2-core-tests2 usages
- org.apache.sling » org.apache.sling.testing.serversetup1 usages
- com.adobe.cq » core.wcm.components.it.e2e-selenium0 usages
- com.adobe.aem.guides » aem-cif-guides-venia.it.tests0 usages
- com.adobe.aem.guides » aem-guides-wknd.it.tests0 usages
- io.github.valtech-ch » saas-aem.it.tests0 usages
- com.adobe.cq » cq-testing-clients-640 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2016-6798 | nvd.nist.gov |
| Web | apache/sling-org-apache-sling-xss commit de32b14 | github.com |
| Web | jensdietrich/xshady-release CVE-2016-6798 | github.com |
| Web | thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0@<dev.sling.apache.org ... | lists.apache.org |
| Web | bid/99873 | securityfocus.com |
