CVE-2017-9804
Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | >= 2.3.7, < 2.3.34>= 2.5.0, < 2.5.13 | 2.3.34, 2.5.13 |
Blast radius
36% of the dependent artifacts (119) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7,294 |
| 2 hops | 67,835 |
| 3 hops | 28,305 |
| 4 hops | 6,016 |
| 5 hops | 1,193 |
| 6 hops | 262 |
Most used dependents
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- com.atlassian.bamboo » atlassian-bamboo-api171 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- com.atlassian.bamboo » atlassian-bamboo-test-utils105 usages
- com.atlassian.bamboo » atlassian-bamboo-pageobjects65 usages
- com.centit.framework » framework-core53 usages
- com.jgeppert.struts2.jquery » struts2-jquery-plugin50 usages
- com.atlassian.bamboo.plugins » atlassian-bamboo-plugin-test-utils41 usages
- com.atlassian.jira » ka-func-test-framework40 usages
- com.atlassian.upm » atlassian-universal-plugin-manager-plugin38 usages
- com.atlassian.jira » jira-webdriver-tests36 usages
- com.atlassian.jira » jira-func-tests-legacy32 usages
- org.egov » egov-egi32 usages
Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2017-9804 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 418a20c | github.com |
| Web | advisory/ntap-20180629-0001 | security.netapp.com |
| Web | docs/s2-050.html | struts.apache.org |
| Web | security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 | tools.cisco.com |
| Web | web/20171113165852/http:/www.securityfocus.com/bid/100612 | web.archive.org |
| Web | web/20201021075553/http:/www.securitytracker.com/id/1039261 | web.archive.org |
| Web | assets/alert/ARUBA-PSA-2017-003.txt | arubanetworks.com |
| Web | technetwork/security-advisory/alert-cve-2017-9805-3889403.html | oracle.com |
