CVE-2017-5638
Apache Struts vulnerable to remote arbitrary command execution due to improper input validation
Description
Apache Struts versions prior to 2.3.32 and 2.5.10.1 contain incorrect exception handling and error-message generation during file-upload attempts using the Jakarta Multipart parser, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | >= 2.3.0, < 2.3.32>= 2.5.0, < 2.5.10.1 | 2.3.32, 2.5.10.1 |
Blast radius
27% of the dependent artifacts (93) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,174 |
| 2 hops | 59,208 |
| 3 hops | 24,131 |
| 4 hops | 5,570 |
| 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.
