apache/struts · Security
Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
- GHSA ID
- GHSA-x5x7-3v85-wpc4
- CVE ID
- CVE-2017-9804
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9804 ↗
- https://security.netapp.com/advisory/ntap-20180629-0001/ ↗
- https://struts.apache.org/docs/s2-050.html ↗
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 ↗
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt ↗
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html ↗
- https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a ↗
- https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612 ↗
- https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261 ↗
- https://github.com/advisories/GHSA-x5x7-3v85-wpc4 ↗