All reports
Critical

Apache Struts vulnerable to remote arbitrary command execution due to improper input validation

Affected versions

Affected versions
>= 2.5.0, <= 2.5.10
Fixed version
2.5.10.1
Affected versions
>= 2.3.0, <= 2.3.31
Fixed version
2.3.32

Exploitation

CVE-2017-5638

Exploitation in the wild has been reported · CISA KEV

Date added: 2021-11-03

Probability of exploitation in the next 30 days: 100.00%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • sunSUNQ