GitHub Advisoryadvisory · Maven
GHSA-x5x7-3v85-wpc4 Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
HIGH
Official page ↗
- Aliases
- CVE-2017-9804
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• Maven org.apache.struts:struts2-core: >= 2.3.7, < 2.3.34 → fixed in 2.3.34
• Maven org.apache.struts:struts2-core: >= 2.5.0, < 2.5.13 → fixed in 2.5.13
Description
In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL. NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.
Related
Alias · CVE (1)
- CVE-2017-9804 In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9804 advisory
- https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a web
- https://github.com/apache/struts package
- https://security.netapp.com/advisory/ntap-20180629-0001 web
- https://struts.apache.org/docs/s2-050.html web
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 web
- https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612 web
- https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261 web
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt web
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html web