CVE-2017-5638: Vulnerability in Apache Struts

Actively exploited. 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.

Exploited in the wild, Maven, CWE-755, CWE-20

Exploitation
Confirmed 3 Nov 2021
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
Agencies by 3 May 2022

Details

Advisory ID
GHSA-j77q-2qqg-6989
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H
Weakness
CWE-755, CWE-20
Published
11 Mar 2017
Last change
17 Jun 2026
Ecosystem
Maven

Affected products

Affected versions and the first fixed release

  • Apache Struts From 2.2.3 before 2.3.32; From 2.5.0 before 2.5.10.1. Fixed in 2.3.32, 2.5.10.1
  • IBM Storwize V3500 Firmware Versions 7.7.1.6, 7.8.1.0. No fixed version recorded
  • IBM Storwize V5000 Firmware Versions 7.7.1.6, 7.8.1.0. No fixed version recorded
  • IBM Storwize V7000 Firmware Versions 7.7.1.6, 7.8.1.0. No fixed version recorded
  • Lenovo Storage V5030 Firmware Versions 7.7.1.6, 7.8.1.0. No fixed version recorded
  • HP Server Automation Versions 9.1.0, 10.0.0, 10.1.0, 10.2.0, 10.5.0. No fixed version recorded
  • Oracle Weblogic Server Versions 10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0. No fixed version recorded
  • Arubanetworks Clearpass Policy Manager Before 6.6.5. Fixed in 6.6.5

Affected packages

Vulnerable version ranges and fixed releases

  • org.apache.struts:struts2-core Maven, Affected from 2.3.0 through 2.3.31. Fixed in 2.3.32

Advisories

Vendor and security advisories

Related