Apache Struts2 - RCE (CVE-2012-0392)
Description
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.
psychologyCrowdSec Analysis
CVE-2012-0392 is a vulnerability in Apache Struts, where the CookieInterceptor component can allow remote attackers to execute arbitrary commands due to inadequate parameter filtering, leading to potential Java code execution.
CrowdSec has been tracking this vulnerability and its exploits since 22nd of April 2024.
CrowdSec network data shows that most actors exploiting CVE-2012-0392 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. CrowdSec data also reveals a clear uptick in attacks involving CVE-2012-0392 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
The vulnerability is being leveraged through carefully crafted requests, mainly targeting URLs containing /devmode.action alongside parameters that enable debug command execution.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2012-01-08 |
| Rule Released | 2024-04-22 |
| CrowdSec First Seen | 2024-11-23 |