Cyber Security News

Apache Struts RCE Vulnerability Exposes Servers to Malicious File Uploads

A critical security vulnerability has been discovered in Apache Struts 2, a popular open-source web application framework, potentially exposing numerous organizations to severe cyber threats.

The flaw, identified as CVE-2023-50164, allows attackers to manipulate file upload parameters, enabling unauthorized path traversal and potentially leading to remote code execution (RCE).

The vulnerability affects multiple versions of Apache Struts 2, including Struts 2.0.0 to 2.3.37 (which is end-of-life), Struts 2.5.0 to 2.5.32, and Struts 6.0.0 to 6.3.0.

With a critical CVSS score of 9.8, this flaw poses a significant threat to organizations using vulnerable versions of the framework.

2024 MITRE ATT&CK Evaluation Results for SMEs & MSPs -> Download Free Guide

The core issue lies in the flawed file upload logic of Apache Struts 2. Attackers can exploit this vulnerability by manipulating file upload parameters, potentially uploading malicious files to arbitrary locations on the server.

Once uploaded, these files can be executed, granting the attacker full control over the system.

A key aspect of this vulnerability is its exploitation of case-sensitive HTTP parameters. Attackers can bypass usual checks and validations by sending a capitalized parameter and later using a lowercase parameter with the same name in a request.

Impact and Risks

The potential impact of CVE-2023-50164 is severe. Successful exploitation could lead to:

  • Remote code execution
  • Unauthorized access to sensitive data
  • System compromise
  • Potential for further attacks within the network

The Apache Struts project has released patched versions to address this critical vulnerability. Organizations are strongly advised to upgrade to one of the following versions immediately:

  • Apache Struts 2.5.33
  • Apache Struts 6.3.0.2 or later

No known workarounds exist for this vulnerability, making the upgrade crucial for maintaining security.

While upgrading is essential, organizations should also implement additional security measures:

  1. Review and restrict file upload configurations
  2. Implement a Web Application Firewall (WAF)
  3. Regularly update all software components
  4. Monitor applications for suspicious activities

Organizations using Apache Struts 2 must take immediate action to protect their systems from potential exploitation.

Investigate Real-World Malicious Links, Malware & Phishing Attacks With ANY.RUN – Try for Free

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

3 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

3 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

4 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

4 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

6 hours ago