Don’t let overlooked obligations become incidents. Learn how.
Utility navigation bar redirect icon
Portal LoginSupportContact
Search
Close search
Huntress Logo in Teal
  • Platform Overview
    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Integrations
    Integrations
    Support Documentation
    Support Documentation
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
  • Threats We Stop
    Phishing
    Phishing
    Business Email Compromise
    Business Email Compromise
    Ransomware
    Ransomware
    Infostealers
    Infostealers
    View Allright arrowView Allright arrow
    Industries We Serve
    Education
    Education
    Financial Services
    Financial Services
    State and Local Government
    State and Local Government
    Healthcare
    Healthcare
    Law Firms
    Law Firms
    Manufacturing
    Manufacturing
    Utilities
    Utilities
    View Allright arrowView Allright arrow
    Tailored Solutions
    MSPs
    MSPs
    Resellers
    Resellers
    SMBs
    SMBs
    Compliance
    Compliance
    What Gets Overlooked Gets Exploited

    Most days, nothing happens. But one day, something will.

    Huntress Cybersecurity
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
  • Pricing
  • Community Series
    The Product Lab

    Shape the next big thing in cybersecurity together.

    The Product Lab

    Shape the next big thing in cybersecurity together.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    Resources
    Upcoming Events
    Upcoming Events
    Ebooks
    Ebooks
    On-Demand Webinars
    On-Demand Webinars
    Videos
    Videos
    Whitepapers
    Whitepapers
    Datasheets
    Datasheets
    Cybersecurity Education
    Cybersecurity 101
    Cybersecurity 101
    Cybersecurity Guides
    Cybersecurity Guides
    Threat Library
    Threat Library
    Real Tradecraft, Real Results
    Real Tradecraft, Real Results
    2026 Cyber Threat Report
    2026 Cyber Threat Report
    The Huntress Blog
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
  • Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    The Huntress SOC

    24/7 Security Operations Center

    The Huntress SOC

    24/7 Security Operations Center

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Community

    Get in touch with the Huntress Community team

    Community

    Get in touch with the Huntress Community team

    Compare Huntress
    Bitdefender
    Bitdefender
    Blackpoint
    Blackpoint
    Breach Secure Now!
    Breach Secure Now!
    Crowdstrike
    Crowdstrike
    Datto
    Datto
    SentinelOne
    SentinelOne
    Sophos
    Sophos
    Compare Allright arrowCompare Allright arrow
  • HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    Partners
    MSPs

    Join our partner community to deliver expert-led managed security.

    MSPs

    Join our partner community to deliver expert-led managed security.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Tech Alliances

    Driving innovation through global technology Partnerships

    Tech Alliances

    Driving innovation through global technology Partnerships

    Microsoft Partnership

    A Level-Up for Your Business Security

    Microsoft Partnership

    A Level-Up for Your Business Security

  • Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Awards
    Awards
    Contact Us
    Contact Us
  • Portal Login
  • Support
  • Contact
  • Search
  • Get a Demo
  • Start for Free
Portal LoginSupportContact
Search
Close search
Get a Demo
Start for Free
HomeThreat LibraryVulnerabilities
CVE-2017-5638

CVE-2017-5638 Vulnerability

Published: 12/16/2025

Written by: Lizzie Danielson

Glitch effectGlitch effect

What is CVE-2017-5638 vulnerability?

CVE-2017-5638 is a critical remote code execution (RCE) vulnerability in Apache Struts 2, identified as a flaw in the Jakarta Multipart parser. This vulnerability allows attackers to execute arbitrary commands on affected servers by exploiting improper exception handling during file uploads. Due to its severe potential consequences, CVE-2017-5638 has been widely exploited in the wild since its disclosure.

When was it discovered?

CVE-2017-5638 was publicly disclosed on March 6, 2017, with credits for its discovery attributed to the Apache Struts security team. Exploitation in real-world scenarios, including major campaigns, occurred almost immediately after the vulnerability's disclosure, highlighting its impact and urgency for patching.

Affected products & versions

Product

Versions Affected

Fixed Versions / Patch Links

Apache Struts 2

Versions 2.3.5 - 2.3.31, 2.5 - 2.5.10

CVE-2017-5638 fix

CVE-2017-5638 technical description

CVE-2017-5638 stems from an exception-handling issue within the Jakarta Multipart parser in Apache Struts. Attackers craft a malicious Content-Type value in HTTP headers, which is improperly evaluated due to flawed exception handling. This bypasses security mechanisms, enabling arbitrary code execution on the server. Notably, this can affect critical applications relying on Apache Struts 2 frameworks, exposing sensitive organizational assets to severe threats.


Tactics, Techniques and Procedures (TTPs)

Adversaries utilize CVE-2017-5638 through HTTP POST requests with malicious headers targeting exposed Apache Struts endpoints. Their approach often involves scanning for vulnerable systems, uploading payloads, and executing privilege escalation techniques to maximize damage.


Indicators of compromise

  • Malicious HTTP Content-Type headers in server logs

  • Unusual outbound connections or executed shell commands

  • Unauthorized modifications to sensitive server files or configurations

Known proof-of-concepts &exploits

Multiple proof-of-concepts (PoCs) targeting CVE-2017-5638 have circulated widely in public exploit repositories. Exploitation has been observed across various industries, with attackers leveraging automation tools to identify unpatched systems quickly.

How to detect CVE-2017-5638 vulnerability?

Detection begins with scanning for the presence of vulnerable Apache Struts versions. Security Information and Event Management (SIEM) tools should be configured to monitor HTTP Content-Type anomalies. Reviewing server logs for suspicious commands and abnormal system behaviors aids in identifying compromise indicators.

Impact & risk of CVE-2017-5638 vulnerability

This vulnerability severely compromises data confidentiality, integrity, and availability for affected systems. Attackers can execute high-impact actions such as delivering ransomware, stealing sensitive data, or disrupting business operations. CVE-2017-5638 illustrates how web-facing applications can turn into entry points for devastating attacks.

Mitigation & remediation strategies

Organizations should urgently patch to the fixed Apache Struts versions. If immediate patching isn't feasible, implement strict access controls, disable file upload functionality where possible, and deploy web application firewalls (WAFs) to block malicious traffic targeting this vulnerability. 

CVE-2017-5638 Vulnerability FAQs

CVE-2017-5638 is a critical RCE vulnerability in Apache Struts 2 that allows remote attackers to execute arbitrary commands by exploiting improper exception handling in HTTP Content-Type headers. Its exploitation can lead to significant damage, including system compromise and data theft.

The vulnerability affects systems running unpatched versions of Apache Struts. Attackers can manipulate HTTP headers to execute unauthorized commands on the underlying server, potentially exposing sensitive data and enabling further malicious activities.

While most systems have been patched, systems running legacy software remain at risk. Businesses should ensure all dependencies are up to date and monitor network traffic for any signs of exploitation attempts.

Organizations can protect themselves by deploying patched versions of Apache Struts, eliminating unnecessary network exposure, and using web application firewalls (WAFs) to mitigate exploit attempts. Implementing robust monitoring tools helps detect and respond to potential threats.

Glitch effectBlurry glitch effect

Protect What Matters

Secure endpoints, email, and employees with the power of our 24/7 SOC. Try Huntress for free and deploy in minutes to start fighting threats.
Try Huntress for Free
Huntress Managed Security PlatformManaged EDRManaged EDR for macOSManaged EDR for LinuxManaged ITDRManaged SIEMManaged Security Awareness TrainingManaged ISPMManaged ESPMBook a Demo
PhishingComplianceBusiness Email CompromiseEducationFinanceHealthcareManufacturingState & Local Government
Managed Service ProvidersResellersIT & Security Teams24/7 SOCCase Studies
BlogResource CenterCybersecurity 101Upcoming EventsSupport Documentation
Our CompanyLeadershipNews & PressCareersContact Us
Huntress white logo

Protecting 215k+ customers like you with enterprise-grade protection.

Privacy PolicyCookie PolicyTerms of UseCookie Consent
Linkedin iconTwitter X iconYouTube iconInstagram icon
© 2025 Huntress All Rights Reserved.

Join the Hunt

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.

By submitting this form, you accept our Terms of Service & Privacy Policy