XXE in Apache Sling
CVE-2016-6798
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.037, 89.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Sling
- Apache Software Foundation Sling — versions prior to 1.0.12
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- tafamace/CVE-2016-6798 (last pushed 2018-11-19)
Also mentioned in 1 other repository (jensdietrich/xshady-release). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d474561…
- www.securityfocus.com/bid/99873 (Third Party Advisory, VDB Entry, vdb-entry)
This CVE has public exploit evidence. See the latest CVEs with public exploits.