HIGH7.5
GHSA-x5x7-3v85-wpc4
Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
Quick fix
GHSA-x5x7-3v85-wpc4 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.3.34</version> for org.apache.struts:struts2-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
2.3.7Fixed in: 2.3.34Fix
# pom.xml: bump <version>2.3.34</version> for org.apache.struts:struts2-coreMaven/org.apache.struts:struts2-core
Introduced in:
2.5.0Fixed in: 2.5.13Fix
# pom.xml: bump <version>2.5.13</version> for org.apache.struts:struts2-coreReferences
- 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]