AI description
CVE-2017-5638 is a remote code execution (RCE) vulnerability found in Apache Struts 2, specifically within its Jakarta Multipart parser. This flaw arises from incorrect exception handling and error message generation during file upload attempts. Attackers can exploit this by crafting a malicious `Content-Type` HTTP header. The vulnerability occurs because the `Content-Type` value is not properly escaped after an error, and the `LocalizedTextUtil.findText` function, which constructs error messages, interprets content within `${...}` as an Object Graph Navigation Library (OGNL) expression. This allows for the evaluation of arbitrary OGNL expressions, leading to the execution of commands on the server. Affected versions include Apache Struts 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1.
- 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.
- Source
- security@apache.org
- NVD status
- Analyzed
- Products
- struts, storwize_v3500_firmware, storwize_v5000_firmware, storwize_v7000_firmware, storage_v5030_firmware, server_automation, weblogic_server, clearpass_policy_manager, oncommand_balance
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 10
- Impact score
- 10
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:C/I:C/A:C
Data from CISA
- Vulnerability name
- Apache Struts Remote Code Execution Vulnerability
- Exploit added on
- Nov 3, 2021
- Exploit action due
- May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Hype score
- Not currently trending
ExploitGrid Daily Digest šØ Top Exploits: CVE-2025-55182 (CVSS: 10) Meta CVE-2026-67401 (CVSS: 9.9) WebPros CVE-2017-5638 (CVSS: 9.8) Apache Softw... CVE-2018-7600 (CVSS: 9.8) n/a CVE-2021-42013 (CVSS: 9.8) Apache Softw... ..š§µš
@exploitgrid
8 Oct 2026
222 Impressions
0 Retweets
3 Likes
0 Bookmarks
1 Reply
0 Quotes
CVE Vulnerabilities That Shaped the Bug Bounty World A quick timeline worth knowing: 1. CVE-2014-0160 ⢠Heartbleed - 2014 2. CVE-2014-6271 ⢠Shellshock - 2014 3. CVE-2016-5195 ⢠Dirty COW - 2016 4. CVE-2017-0144 ⢠EternalBlue - 2017 5. CVE-2017-5638 ⢠Apache Struts RC
@konig0000
14 Sept 2026
113 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
CVE Vulnerabilities That Shaped the Bug Bounty World A quick timeline worth knowing: 1. CVE-2014-0160 ⢠Heartbleed - 2014 2. CVE-2014-6271 ⢠Shellshock - 2014 3. CVE-2016-5195 ⢠Dirty COW - 2016 4. CVE-2017-0144 ⢠EternalBlue - 2017 5. CVE-2017-5638 ⢠Apache Struts RC
@NitinGavhane_
13 Sept 2026
9496 Impressions
10 Retweets
93 Likes
59 Bookmarks
3 Replies
1 Quote
š”ļø ExploitGrid Daily Threat Digest Critical Exploits disclosed today: CVE-2025-57819 CVE-2026-83548 CVE-2026-59827 CVE-2017-5638 CVE-2025-32958 ..š§µš
@exploitgrid
4 Sept 2026
40 Impressions
0 Retweets
0 Likes
0 Bookmarks
1 Reply
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
"matchCriteriaId": "40D3EE72-E37F-4F4C-996D-50E144CF43DD",
"versionEndExcluding": "2.3.32",
"versionStartIncluding": "2.2.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
"matchCriteriaId": "E2F63D06-B26A-4DB6-8B07-B847554ABCA8",
"versionEndExcluding": "2.5.10.1",
"versionStartIncluding": "2.5.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:ibm:storwize_v3500_firmware:7.7.1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "5AB119E1-7736-4C99-AD9C-9E8820769D4F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:ibm:storwize_v3500_firmware:7.8.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "A8A0C06E-B833-4A52-B1F0-FEC9BEF372A4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
},
{
"cpeMatch": [
{
"criteria": "cpe:2.3:h:ibm:storwize_v3500:-:*:*:*:*:*:*:*",
"matchCriteriaId": "7352FACE-C8D0-49A7-A2D7-B755599F0FB3",
"vulnerable": false
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:ibm:storwize_v5000_firmware:7.7.1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "F445D22E-8976-4ADC-81FD-49B351B2802A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:ibm:storwize_v5000_firmware:7.8.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "1B9E6724-8796-4DD5-9CE2-8E602DA893F9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
},
{
"cpeMatch": [
{
"criteria": "cpe:2.3:h:ibm:storwize_v5000:-:*:*:*:*:*:*:*",
"matchCriteriaId": "F0B69C8D-32A4-449F-9BFC-F1587C7FA8BD",
"vulnerable": false
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:ibm:storwize_v7000_firmware:7.7.1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "D1D7A801-1861-4479-9367-60F792BF8016",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:ibm:storwize_v7000_firmware:7.8.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "EDF96E49-9530-4718-B5A9-7366D10CC890",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
},
{
"cpeMatch": [
{
"criteria": "cpe:2.3:h:ibm:storwize_v7000:-:*:*:*:*:*:*:*",
"matchCriteriaId": "AA2ED020-4C7B-4303-ABE6-74D46D127556",
"vulnerable": false
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:lenovo:storage_v5030_firmware:7.7.1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "371CD28E-6187-4EB1-8B73-645F7A6BFFD6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:lenovo:storage_v5030_firmware:7.8.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "DA0AFFAA-F7AE-416C-A40D-24F972EE18BD",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
},
{
"cpeMatch": [
{
"criteria": "cpe:2.3:h:lenovo:storage_v5030:-:*:*:*:*:*:*:*",
"matchCriteriaId": "A2A4179B-51C5-486B-8CFF-D49436D60910",
"vulnerable": false
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:hp:server_automation:9.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "112DFE68-A609-4B76-8227-4DE9CAC25F54",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hp:server_automation:10.0.0:*:*:*:*:*:*:*",
"matchCriteriaId": "951C042F-9C83-4DBB-8070-A926A1B46591",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hp:server_automation:10.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "AC9404A4-6B73-436E-A8FB-914530D6000A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hp:server_automation:10.2.0:*:*:*:*:*:*:*",
"matchCriteriaId": "32AFBE84-5394-49A1-844A-ED964A46ACF7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hp:server_automation:10.5.0:*:*:*:*:*:*:*",
"matchCriteriaId": "38ABFD4F-8E97-4418-A921-BF9F4D95A4A4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:oracle:weblogic_server:10.3.6.0.0:*:*:*:*:*:*:*",
"matchCriteriaId": "B40B13B7-68B3-4510-968C-6A730EB46462",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:oracle:weblogic_server:12.1.3.0.0:*:*:*:*:*:*:*",
"matchCriteriaId": "C93CC705-1F8C-4870-99E6-14BF264C3811",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:oracle:weblogic_server:12.2.1.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "29F4C533-DE42-463B-9D80-5D4C85BF1A5B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:oracle:weblogic_server:12.2.1.2.0:*:*:*:*:*:*:*",
"matchCriteriaId": "3A1728D5-E03B-49A0-849C-B722197AF054",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:arubanetworks:clearpass_policy_manager:*:*:*:*:*:*:*:*",
"matchCriteriaId": "8D1193B0-59C9-4AC0-BBA0-CED6FCC91883",
"versionEndExcluding": "6.6.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:netapp:oncommand_balance:-:*:*:*:*:*:*:*",
"matchCriteriaId": "7DCBCC5D-C396-47A8-ADF4-D3A2C4377FB1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]