Back to CVE catalog

AI summary

The Jakarta Multipart parser in Apache Struts 2 before 2.3.32 (2.3.x) and before 2.5.10.1 (2.5.x) mishandles exceptions and error messages during file uploads. Remote attackers can execute arbitrary commands via a crafted Content-Type, Content-Disposition or Content-Length HTTP header, and exploitation in the wild was seen in March 2017.

Generated automatically from the source description. Check the sources below before acting.

CVE-2017-5638

Incorrect exception handling in the Jakarta Multipart parser in Apache Struts 2

Apache Software Foundation Apache Struts

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

9.8Critical
Published:
Updated:
EPSS:
99.999%
Exploited in attacks:
Confirmed
Ransomware campaigns:
Confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Apache Software FoundationApache StrutsAffected versions:
2.3.x before 2.3.32Show full version range for Apache Struts
2.5.x before 2.5.10.1
Vendor:ApachestrutsAffected versions:
≥ 2.2.3, < 2.3.32Show full version range for struts
≥ 2.5.0, < 2.5.10.1
Vendor:arubanetworksclearpass policy managerAffected versions:
< 6.6.5
Vendor:hpserver automationAffected versions:
10.0.0Show full version range for server automation
10.1.010.2.010.5.09.1.0
Vendor:oracleweblogic serverAffected versions:
10.3.6.0.0Show full version range for weblogic server
12.1.3.0.012.2.1.1.012.2.1.2.0
Vendor:lenovostorage v5030 firmwareAffected versions:
7.7.1.6Show full version range for storage v5030 firmware
7.8.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:ibmstorwize v3500 firmwareAffected versions:
7.7.1.6Show full version range for storwize v3500 firmware
7.8.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:ibmstorwize v5000 firmwareAffected versions:
7.7.1.6Show full version range for storwize v5000 firmware
7.8.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:NetApponcommand balanceAffected versions:
Range not specifiedShow full version range for oncommand balance
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:ibmstorwize v7000 firmwareAffected versions:
7.7.1.6Show full version range for storwize v7000 firmware
7.8.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–10 of 10 · Page 1 of 1

CVSS scores and metrics7
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP · CVE List / CNA (adp)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2017-5638 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories39

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences