CVE-2017-5638

CRITICAL10.0⚠ KEVEPSS 94.3%

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

Published: 10/18/2018Modified: 10/22/2025Added to CISA KEV: 11/3/2021

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL10.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H

References (46)