CVE Feed

    Dashboard / CVE / CVE-2017-5638

    CVE-2017-5638

    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.

    Published:Mar 6, 2017
    Last Modified:Apr 21, 2026
    EPS:Mar 11, 2017
    EPSS Score:0.94267
    CVSS Score:9.8

    CISA Notification

    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.

    Required Action:

    Apply updates per vendor instructions.

    Notes:

    No extra notes provided.

    Due Date
    May 3, 2022
    1592 days ago
    Alert Date
    Nov 3, 2021
    1773 days ago

    Affected Products

    Vendor
    Apache
    Product
    Struts
    Vendor
    Arubanetworks
    Product
    Clearpass Policy Manager
    Vendor
    Hp
    Product
    Server Automation
    Vendor
    Ibm
    Product
    Storwize V3500
    Vendor
    Ibm
    Product
    Storwize V3500 Firmware
    Vendor
    Ibm
    Product
    Storwize V5000
    Vendor
    Ibm
    Product
    Storwize V5000 Firmware
    Vendor
    Ibm
    Product
    Storwize V7000
    Vendor
    Ibm
    Product
    Storwize V7000 Firmware
    Vendor
    Lenovo
    Product
    Storage V5030
    Vendor
    Lenovo
    Product
    Storage V5030 Firmware
    Vendor
    Netapp
    Product
    Oncommand Balance
    Vendor
    Oracle
    Product
    Weblogic Server

    Exploits

    http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlhttp://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/https://exploit-db.com/exploits/41570https://github.com/mazen160/struts-pwnhttps://github.com/rapid7/metasploit-framework/issues/8064https://isc.sans.edu/diary/22169https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlhttps://packetstormsecurity.com/files/141494/S2-45-poc.py.txthttps://www.exploit-db.com/exploits/41614/http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlhttp://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/https://exploit-db.com/exploits/41570https://github.com/mazen160/struts-pwnhttps://github.com/rapid7/metasploit-framework/issues/8064https://isc.sans.edu/diary/22169https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlhttps://packetstormsecurity.com/files/141494/S2-45-poc.py.txthttps://www.exploit-db.com/exploits/41614/https://www.exploit-db.com/exploits/41570https://github.com/0x00-0x00/CVE-2017-5638https://github.com/Aasron/Struts2-045-Exphttps://github.com/ACharaf06/CVE-2017-5638-Attack-and-Defensehttps://github.com/AIPEACS/SC3010-Computer-Securityhttps://github.com/aljazceru/CVE-2017-5638-Apache-Struts2https://github.com/AndreasKl/CVE-2017-5638https://github.com/andypitcher/check_strutshttps://github.com/Badbird3/CVE-2017-5638https://github.com/bhagdave/CVE-2017-5638https://github.com/bongbongco/cve-2017-5638https://github.com/btamburi/strutszeirohttps://github.com/c002/Apache-Strutshttps://github.com/cafnet/apache-struts-v2-CVE-2017-5638https://github.com/colorblindpentester/CVE-2017-5638https://github.com/donaldashdown/Common-Vulnerability-and-Exploithttps://github.com/Dungsocool/CVE-2017-5638https://github.com/eeehit/CVE-2017-5638https://github.com/falcon-lnhg/StrutsShellhttps://github.com/Flyteas/Struts2-045-Exphttps://github.com/FozilCV/Apache-Struts2-CVE-2017-5638https://github.com/FredBrave/CVE-2017-5638-ApacheStruts2.3.5https://github.com/ggolawski/struts-rcehttps://github.com/Greynad/struts2-jakarta-injecthttps://github.com/gsfish/S2-Reaperhttps://github.com/GU-007/struts2-toolhttps://github.com/haxerr9/CVE-2017-5638https://github.com/homjxi0e/CVE-2017-5638https://github.com/iampetru/PoC-CVE-2017-5638https://github.com/Iletee/struts2-rcehttps://github.com/immunio/apache-struts2-CVE-2017-5638https://github.com/initconf/CVE-2017-5638_strutshttps://github.com/injcristianrojas/cve-2017-5638https://github.com/invisiblethreat/strutserhttps://github.com/jas502n/S2-045-EXP-POC-TOOLShttps://github.com/jas502n/st2-046-pochttps://github.com/joidiego/Detection-struts-cve-2017-5638-detectorhttps://github.com/jongmartinez/CVE-2017-5638https://github.com/jpacora/Struts2Shellhttps://github.com/jptr218/struts_hackhttps://github.com/jrrdev/cve-2017-5638https://github.com/jrrombaldo/CVE-2017-5638https://github.com/KarzsGHR/S2-046_S2-045_POChttps://github.com/kaylertee/Computer-Security-Equifax-2017https://github.com/kloutkake/CVE-2017-5638-PoChttps://github.com/Kouf320/docker-lab-cve-2017-5638-cve-2021-41773https://github.com/leandrocamposcardoso/CVE-2017-5638-Mass-Exploithttps://github.com/lolwaleet/ExpStrutshttps://github.com/ludy-dev/XworkStruts-RCEhttps://github.com/m3ssap0/struts2_cve-2017-5638https://github.com/Majaktech/apache-struts-cve-2017-5638-projecthttps://github.com/Masahiro-Yamada/OgnlContentTypeRejectorValvehttps://github.com/mazen160/struts-pwnhttps://github.com/mcassano/cve-2017-5638https://github.com/mfdev-solution/Exploit-CVE-2017-5638https://github.com/mritunjay-k/CVE-2017-5638https://github.com/mthbernardes/strutszeirohttps://github.com/MuhammadAbdullah192/CVE-2017-5638-Remote-Code-Execution-Apache-Struts2-EXPLOITATIONhttps://github.com/Nithylesh/web-application-firewall-https://github.com/oktavianto/CVE-2017-5638-Apache-Struts2https://github.com/opt9/Strutsclihttps://github.com/opt9/Strutshockhttps://github.com/payatu/CVE-2017-5638https://github.com/PolarisLab/S2-045https://github.com/QHxDr-dz/CVE-2017-5638https://github.com/R4v3nBl4ck/Apache-Struts-2-CVE-2017-5638-Exploit-https://github.com/random-robbie/CVE-2017-5638https://github.com/readloud/CVE-2017-5638https://github.com/ret2jazzy/Struts-Apache-ExploitPackhttps://github.com/riyazwalikar/struts-rce-cve-2017-5638https://github.com/sighup1/cybersecurity-struts2https://github.com/sjitech/test_struts2_vulnerability_CVE-2017-5638https://github.com/smancke/CVE-2017-5638https://github.com/sonatype-workshops/struts2-rcehttps://github.com/soufiane-benchahyd/vulhub-struts2https://github.com/SpiderMate/Stutsfihttps://github.com/sUbc0ol/Apache-Struts2-RCE-Exploit-v2-CVE-2017-5638https://github.com/sUbc0ol/Apache-Struts-CVE-2017-5638-RCE-Mass-Scannerhttps://github.com/tahmed11/strutsyhttps://github.com/TamiiLambrado/Apache-Struts-CVE-2017-5638-RCE-Mass-Scannerhttps://github.com/Tankirat/CVE-2017-5638https://github.com/testpilot031/vulnerability_struts-2.3.31https://github.com/timothyjxhn/DeliberatelyVulnerableWebApphttps://github.com/toothbrushsoapflannelbiscuits/cve-2017-5638https://github.com/un4ckn0wl3z/CVE-2017-5638https://github.com/win3zz/CVE-2017-5638https://github.com/Xernary/CVE-2017-5638-POChttps://github.com/Xhendos/CVE-2017-5638https://github.com/xsscx/cve-2017-5638https://www.exploit-db.com/exploits/41614

    Common Attack Pattern Enumeration and Classification (CAPEC)

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High