Open Nav
Sign Up

Critical RCE Vulnerability CVE-2023-50164 in Apache Struts 2

CVE 2023-50164 critical vulnerability

Bar Refael

December 24, 2023

A new critical remote code execution (RCE) vulnerability, CVE-2023-50164, has been identified in Apache Struts 2, a popular open source web application framework. This flaw is related to file upload logic and could lead to incorrect path traversal, allowing an attacker to upload and execute malicious files. Given the severity of this vulnerability and the history of similar vulnerabilities being exploited in large-scale attacks, it is imperative that it be patched immediately.

CVE-2023-50164 Vulnerability Details

  • Framework: Apache Struts 2
  • Vulnerability ID: CVE-2023-50164
  • Severity: Critical
  • Impacted Versions:
    • Struts 2.3.37 (End of Life)
    • Struts 2.5.0 to 2.5.32
    • Struts 6.0.0 to 6.3.0
  • Patched Versions:
    • Struts 2.5.33
    • Struts 6.3.0.2 or later
  • Discovery: Steven Seeley of Source Incite
  • Impact: Remote Code Execution via file upload and path traversal

Technical Analysis

This vulnerability is caused by a flaw in the file upload logic within the Struts 2 framework. This flaw allows unauthorized path traversal, allowing an attacker to upload malicious files to the server. Once uploaded, this file can be executed, resulting in complete remote code execution on the affected server. This vulnerability is of particular concern because Struts 2 is commonly used in enterprise web applications.

Mitigation Steps

  1. Immediate Patching Required: Administrators of applications using Apache Struts 2 should immediately upgrade to Struts version 2.5.33 or 6.3.0.2 or later.
  2. No Workarounds Available: There are no alternative workarounds to mitigate this issue, making upgrading the only solution.
  3. Verify Application Integrity: Post-upgrade, verify the integrity of web applications and check for any signs of compromise.
  4. Regular Security Audits: Conduct regular security audits of the applications to ensure ongoing security and compliance.

Related Threats and Precedents

  • Historical Exploits: A similar vulnerability in Apache Struts (CVE-2017-5638) was exploited in the notorious Equifax breach in 2017, emphasizing the potential risk of such vulnerabilities being targeted by threat actors.

Conclusion

Given the critical nature of CVE-2023-50164 and the widespread use of Apache Struts 2 in enterprise web applications, this vulnerability poses a significant risk. Since there is no workaround, you should patch it immediately to prevent potential exploits that are reminiscent of previous large-scale security breaches.

Recommendations for Developers and Administrators

  • Upgrade to the patched versions of Apache Struts immediately.
  • Regularly update and audit all components of web applications.
  • Monitor for suspicious activities indicating a breach or an attempt to exploit this vulnerability.

Intelligence Source Attribution

This CTI report is based on security advisories published by Apache and information from Source Incite, which discovered and reported the bug. The historical context in which similar vulnerabilities have been exploited in major cyberattacks underscores the urgency of addressing this issue.

Resources highlights

Active Exploitation of CVE-2025-5394: Arbitrary File Upload in “Alone” Charity WordPress Theme

A critical arbitrary file-upload flaw (CVE-2025-5394, CVSS 9.8) in the Alone – Charity Multipurpose Non-profit WordPress theme (≤ 7.8.3) is under active exploitation.  A missing…

Read more >

CVE-2025-5394

Why False Positives Are Still Killing Security Teams

In cybersecurity, a false positive occurs when a security tool raises an alert that either points to a threat that does not exist or assigns…

Read more >

false positives op

CVE-2023-2533: 2-Year-Old PaperCut Vulnerability Added to CISA’s KEV

On July 28, 2025, CISA added CVE‑2023‑2533, an 8.4 (High) severity Cross‑Site Request Forgery (CSRF) vulnerability in PaperCut NG/MF, to its Known Exploited Vulnerabilities (KEV) Catalog,…

Read more >

CVE-2023-2533

CISA: Attackers Exploiting SysAid Vulnerabilities (CVE-2025-2775, CVE-2025-2776)

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added two SysAid On-Prem vulnerabilities, CVE-2025-2775 and CVE-2025-2776, to its Known Exploited Vulnerabilities (KEV) catalog, confirming…

Read more >

CVE-2025-2775, CVE-2025-2776

Critical Zero-Day in CrushFTP Exploited in the Wild (CVE-2025-54309)

A critical zero-day vulnerability in CrushFTP, CVE-2025-54309, is being actively exploited by threat actors to gain unauthenticated administrative access to vulnerable servers via HTTPS. The…

Read more >

CVE-2025-54309

Critical Zero-Day in Microsoft SharePoint Actively Exploited (CVE-2025-53770)

A newly discovered zero-day vulnerability in Microsoft SharePoint Server, tracked as CVE-2025-53770, is currently being exploited in active attacks against on-premises environments. The flaw, rated…

Read more >

CVE-2025-53770
Under Cyber Attack?

Fill out the form and we will contact you immediately.