CVE-2017-5638
Description
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, 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.
How to fix
Apply updates per vendor instructions.
CISA due date: May 3, 2022- apache struts2.3.32, 2.5.10.1 or later
- arubanetworks clearpass_policy_manager6.6.5 or later
- org.apache.struts:struts2-core2.3.32, 2.5.10.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache struts | 2.2.3 ≤ v < 2.3.32, 2.5.0 ≤ v < 2.5.10.1 | 2.3.32, 2.5.10.1 |
| ibm storwize_v3500_firmware | 7.7.1.6, 7.8.1.0 | — |
| ibm storwize_v5000_firmware | 7.7.1.6, 7.8.1.0 | — |
| ibm storwize_v7000_firmware | 7.7.1.6, 7.8.1.0 | — |
| lenovo storage_v5030_firmware | 7.7.1.6, 7.8.1.0 | — |
| hp server_automation | 9.1.0, 10.0.0, 10.1.0, 10.2.0, 10.5.0 | — |
| oracle weblogic_server | 10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0 | — |
| arubanetworks clearpass_policy_manager | v < 6.6.5 | 6.6.5 |
| netapp oncommand_balance | No range specified | — |
| org.apache.struts:struts2-coreMaven | 2.3.0 ≤ v < 2.3.32, 2.5.0 ≤ v < 2.5.10.1 | 2.3.32, 2.5.10.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.