S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Dec 16, 2023

CVE-2012-0392 Scanner

CVE-2012-0392 scanner - Remote Code Execution (RCE) vulnerability in Apache Struts

Est. Time~15 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.1k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2012-0392
6.8
CVSS

The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 21, 2026View on NVD →
Detail

Apache Struts is an open-source web application framework that is written in Java. Its purpose is to build elegant, modern, and maintainable web applications. It is widely utilized because of its various features, such as Model-View-Controller architecture, templates, and validators. It also supports different types of server-side validations such as CSRF protection, input validation, and type conversion.

A serious vulnerability was detected in Apache Struts, known as CVE-2012-0392. The CookieInterceptor component in the Apache Struts before version 2.3.1.1 did not use the parameter-name whitelist. This allowed remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method. This vulnerability could be exploited by an attacker by sending malicious requests that contain specially crafted cookies. 

This vulnerability can lead to a chain of malicious operations. When exploited, an attacker could potentially execute arbitrary code on the target system, access sensitive information or even gain complete control of the affected system. Attackers could steal confidential data like personally identifiable information (PII), user credentials or intellectual property. Additionally, an attacker could install malware or use the system as a bot to launch a Distributed Denial of Services (DDoS) attack.

Finally, thanks to the pro features of the s4e.io platform, those who read this article can easily and quickly learn about vulnerabilities in their digital assets. They can schedule regular vulnerability scans or even penetration testing to identify potential security breaches early. With this advanced level of security offered by s4e.io, companies can protect their confidential and sensitive data from malicious attackers.

 

REFERENCES

Solution Advice

To protect against this vulnerability, it is crucial to maintain updated versions of Apache Struts with the latest security patches. One can also take additional precautions like implementing secure coding practices and secure development lifecycle (SDLC) strategies. Here are some crucial precautions to follow:

  • Patch all the software and applications regularly.
  • Enable web application firewalls (WAFs) that detect and block malicious requests.
  • Implement strict input validation and sanitization policies to stop malicious users from attacking the application.
  • Use secure coding practices and perform secure code reviews to eliminate the vulnerabilities in the codebase.
  • Develop awareness among employees about safe online practices like using strong passwords, not clicking on suspicious links or opening suspicious emails.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.