← back
CVE-2017-5638criticalunder attackransomwareCWE-755

CVE-2017-5638

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 9.8epss 100%
from disclosure to weapon0 days
Published on NVDMar 11
1st PoCMar 7
metasploitMar 7
CISA KEV+1698d
exploitation probability
100%top 1% of all CVEs
observed exploitation
yesCISA + VulnCheck
145 public exploit(s)
Action required by CISAfederal deadline: 2022-05-03

Apply updates per vendor instructions.

Versions

Affected
maven/org.apache.struts:struts2-core >= 2.3.0, <= 2.3.31; maven/org.apache.struts:struts2-core >= 2.5.0, <= 2.5.10
Fixed in
maven/org.apache.struts:struts2-core 2.3.32; maven/org.apache.struts:struts2-core 2.5.10.1
Researched and written with AI from the vendor advisory and public analysis, with the sources above. Always confirm the fixed version in the official advisory before acting.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
public PoCs found145 VexDay Proof
exploitdbVexDay Proofwww.exploit-db.com/exploits/41614exploitdbVexDay Proofwww.exploit-db.com/exploits/41570githubgithub.com/mazen160/struts-pwn442githubgithub.com/Flyteas/Struts2-045-Exp61githubgithub.com/immunio/apache-struts2-CVE-2017-563835githubgithub.com/jas502n/S2-045-EXP-POC-TOOLS25githubgithub.com/PolarisLab/S2-04523githubgithub.com/xsscx/cve-2017-563821githubgithub.com/jas502n/st2-046-poc21githubgithub.com/ret2jazzy/Struts-Apache-ExploitPack16githubgithub.com/win3zz/CVE-2017-563816githubgithub.com/jrrdev/cve-2017-563814githubgithub.com/sUbc0ol/Apache-Struts2-RCE-Exploit-v2-CVE-2017-563813githubgithub.com/Iletee/struts2-rce11githubgithub.com/tahmed11/strutsy10githubgithub.com/payatu/CVE-2017-56388githubgithub.com/initconf/CVE-2017-5638_struts8githubgithub.com/0x00-0x00/CVE-2017-56386githubgithub.com/R4v3nBl4ck/Apache-Struts-2-CVE-2017-5638-Exploit-3githubgithub.com/falcon-lnhg/StrutsShell3githubgithub.com/Nithylesh/web-application-firewall-3githubgithub.com/iampetru/PoC-CVE-2017-56383githubgithub.com/andypitcher/check_struts2githubgithub.com/Greynad/struts2-jakarta-inject2githubgithub.com/opt9/Strutshock2githubgithub.com/opt9/Strutscli2githubgithub.com/Kouf320/docker-lab-cve-2017-5638-cve-2021-417732githubgithub.com/aljazceru/CVE-2017-5638-Apache-Struts22githubgithub.com/lolwaleet/ExpStruts2githubgithub.com/sighup1/cybersecurity-struts21githubgithub.com/ludy-dev/XworkStruts-RCE1githubgithub.com/jongmartinez/CVE-2017-56381githubgithub.com/jptr218/struts_hack1githubgithub.com/oktavianto/CVE-2017-5638-Apache-Struts21githubgithub.com/KarzsGHR/S2-046_S2-045_POC1githubgithub.com/un4ckn0wl3z/CVE-2017-56381githubgithub.com/kloutkake/CVE-2017-5638-PoC1githubgithub.com/jpacora/Struts2Shell1githubgithub.com/riyazwalikar/struts-rce-cve-2017-56381githubgithub.com/haxerr9/CVE-2017-56381githubgithub.com/ggolawski/struts-rce1githubgithub.com/ACharaf06/CVE-2017-5638-Attack-and-Defense1githubgithub.com/m3ssap0/struts2_cve-2017-56381githubgithub.com/Masahiro-Yamada/OgnlContentTypeRejectorValve1githubgithub.com/colorblindpentester/CVE-2017-56380githubgithub.com/bongbongco/cve-2017-56380githubgithub.com/btamburi/strutszeiro0githubgithub.com/sjitech/test_struts2_vulnerability_CVE-2017-56380githubgithub.com/jrrombaldo/CVE-2017-56380githubgithub.com/gsfish/S2-Reaper0githubgithub.com/mcassano/cve-2017-56380githubgithub.com/Aasron/Struts2-045-Exp0githubgithub.com/SpiderMate/Stutsfi0githubgithub.com/smancke/CVE-2017-56380githubgithub.com/homjxi0e/CVE-2017-56380githubgithub.com/eeehit/CVE-2017-56380githubgithub.com/sUbc0ol/Apache-Struts-CVE-2017-5638-RCE-Mass-Scanner0githubgithub.com/Xhendos/CVE-2017-56380githubgithub.com/TamiiLambrado/Apache-Struts-CVE-2017-5638-RCE-Mass-Scanner0githubgithub.com/invisiblethreat/strutser0githubgithub.com/c002/Apache-Struts0githubgithub.com/donaldashdown/Common-Vulnerability-and-Exploit0githubgithub.com/cafnet/apache-struts-v2-CVE-2017-56380githubgithub.com/leandrocamposcardoso/CVE-2017-5638-Mass-Exploit0githubgithub.com/random-robbie/CVE-2017-56380githubgithub.com/injcristianrojas/cve-2017-56380githubgithub.com/sonatype-workshops/struts2-rce0githubgithub.com/Badbird3/CVE-2017-56380githubgithub.com/testpilot031/vulnerability_struts-2.3.310githubgithub.com/readloud/CVE-2017-56380githubgithub.com/Tankirat/CVE-2017-56380githubgithub.com/mfdev-solution/Exploit-CVE-2017-56380githubgithub.com/mritunjay-k/CVE-2017-56380githubgithub.com/FredBrave/CVE-2017-5638-ApacheStruts2.3.50githubgithub.com/Xernary/CVE-2017-5638-POC0githubgithub.com/timothyjxhn/DeliberatelyVulnerableWebApp0githubgithub.com/toothbrushsoapflannelbiscuits/cve-2017-56380githubgithub.com/QHxDr-dz/CVE-2017-56380githubgithub.com/joidiego/Detection-struts-cve-2017-5638-detector0githubgithub.com/MuhammadAbdullah192/CVE-2017-5638-Remote-Code-Execution-Apache-Struts2-EXPLOITATION0githubgithub.com/kaylertee/Computer-Security-Equifax-20170githubgithub.com/FozilCV/Apache-Struts2-CVE-2017-56380githubgithub.com/soufiane-benchahyd/vulhub-struts20githubgithub.com/AIPEACS/SC3010-Computer-Security0githubgithub.com/Majaktech/apache-struts-cve-2017-5638-project0githubgithub.com/Dungsocool/CVE-2017-56380cve_referencewww.exploit-db.com/exploits/41614/unverifiedvulncheckvulncheck.com/xdb/a920eeb5ee6aunverifiedvulncheckvulncheck.com/xdb/30dc525b1c57unverifiedvulncheckvulncheck.com/xdb/5dfed5d68cbcunverifiedvulncheckvulncheck.com/xdb/1b42cf9134f3unverifiedvulncheckvulncheck.com/xdb/df60c287f1cdunverifiedvulncheckvulncheck.com/xdb/b5c1ab2d5bc5unverifiedvulncheckvulncheck.com/xdb/38dd7dd03007unverifiedvulncheckvulncheck.com/xdb/92c9400dcff7unverifiedvulncheckvulncheck.com/xdb/34e73d61d621unverifiedvulncheckvulncheck.com/xdb/5e602d793141unverifiedvulncheckvulncheck.com/xdb/961d20815cd2unverifiedvulncheckvulncheck.com/xdb/b0439ebbc0c0unverifiedvulncheckvulncheck.com/xdb/ab1e48aab793unverifiedvulncheckvulncheck.com/xdb/fecafad12e6cunverifiedvulncheckvulncheck.com/xdb/dcc67ac85fddunverifiedvulncheckvulncheck.com/xdb/2ee648e8c5abunverifiedvulncheckvulncheck.com/xdb/43cd5602564cunverifiedvulncheckvulncheck.com/xdb/337989a2a577unverifiedvulncheckvulncheck.com/xdb/b7fcc6ca47d8unverifiedvulncheckvulncheck.com/xdb/513b57e55c0funverifiedvulncheckvulncheck.com/xdb/3a544bce6facunverifiedvulncheckvulncheck.com/xdb/2372c571d51bunverifiedvulncheckvulncheck.com/xdb/9d0f3b1cdffcunverifiedvulncheckvulncheck.com/xdb/5de84d7d0047unverifiedvulncheckvulncheck.com/xdb/1aeac5628880unverifiedvulncheckvulncheck.com/xdb/5a31e2b88d8bunverifiedvulncheckvulncheck.com/xdb/92284df22d05unverifiedvulncheckvulncheck.com/xdb/bad29a83176eunverifiedvulncheckvulncheck.com/xdb/3c19ff65296aunverifiedvulncheckvulncheck.com/xdb/7609b3e7cb98unverifiedvulncheckvulncheck.com/xdb/af94773df67eunverifiedvulncheckvulncheck.com/xdb/f47a53762ef3unverifiedvulncheckvulncheck.com/xdb/20280d4b350bunverifiedvulncheckvulncheck.com/xdb/fd5f95144a75unverifiedvulncheckvulncheck.com/xdb/5773e4ea569bunverifiedvulncheckvulncheck.com/xdb/c4cfff7455b8unverifiedvulncheckvulncheck.com/xdb/0cd00e5128ddunverifiedvulncheckvulncheck.com/xdb/9d3cbfdc257funverifiedvulncheckvulncheck.com/xdb/dbca6ea08b41unverifiedvulncheckvulncheck.com/xdb/fb291c123615unverifiedvulncheckvulncheck.com/xdb/9c7436629672unverifiedvulncheckvulncheck.com/xdb/bbdb72777ec9unverifiedvulncheckvulncheck.com/xdb/1992a6b42411unverifiedvulncheckvulncheck.com/xdb/9b37ededd8acunverifiedvulncheckvulncheck.com/xdb/fe25757247c8unverifiedvulncheckvulncheck.com/xdb/1e4bb0c90cb0unverifiedvulncheckvulncheck.com/xdb/24ab649cd1daunverifiedvulncheckvulncheck.com/xdb/9eeabd073ffeunverifiedvulncheckvulncheck.com/xdb/f0dd214c0a71unverifiedvulncheckvulncheck.com/xdb/fae964aee837unverifiedvulncheckvulncheck.com/xdb/5bf0668927e9unverifiedvulncheckvulncheck.com/xdb/927ddcc5b795unverifiedvulncheckvulncheck.com/xdb/d0691e1ab72cunverifiedvulncheckvulncheck.com/xdb/7f001c599f37unverifiedvulncheckvulncheck.com/xdb/43a16c730cfdunverifiedcve_referencepacketstormsecurity.com/files/141494/S2-45-poc.py.txtunverifiedcve_referenceexploit-db.com/exploits/41570unverifiedvulncheckvulncheck.com/xdb/cf28f48b8a4bunverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.