6.1med
CVE-2017-9802
Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post
Also known as GHSA-8c82-9rgp-4qvr
Published 9 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.7%
percentile 90%
Public exploits
0
none known
Summary
The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript 'eval' function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.
Exploit prediction (EPSS)
3.66% probability of exploitation in the next 30 days, higher than 90% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.sling:org.apache.sling.servlets.post | <2.3.22 | 2.3.22 |
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- securityfocus.com /bid/100284 · vdb-entry, x_refsource_BID, x_transferred
- securityfocus.com /archive/1/541024/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- packetstormsecurity.com /files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html · x_refsource_MISC, x_transferred
- lists.apache.org /thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apach · mailing-list, x_refsource_MLIST, x_transferred
- issues.apache.org /jira/browse/SLING-7041 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-9802 · advisory
- lists.apache.org /thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache. · web
Sources
- CVE List: CVE-2017-9802
- GitHub Advisory: GHSA-8c82-9rgp-4qvr
- NVD: CVE-2017-9802
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.