struts: arbitrary command execution via crafted HTTP Cookie header
Published Jan 8, 2012
6.8
MEDIUMCVSS 2.0
EPSS 97.53%
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.
Affected products
Remediation
Red Hat statement
A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases. The products that included the Struts 2 artefacts in their source jars: Fuse Service Works 6.0.0 Single Sign On 7.3.0+ If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars: 1. Run 'find . -name struts2*.jar' under the source location 2. Remove any files found This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 97.53% (0.97534) | 99.90th | v5 (v2026.06.15) |
| Jul 24, 2026 | 98.00% (0.98000) | 99.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 96.79% (0.96787) | 99.88th | v5 (v2026.06.15) |
| May 19, 2026 | 90.29% (0.90286) | 99.61th | v4 (v2025.03.14) |
| Apr 27, 2026 | 74.97% (0.74968) | 98.88th | v4 (v2025.03.14) |
| Mar 4, 2026 | 85.36% (0.85355) | 99.34th | v4 (v2025.03.14) |
| Sep 8, 2025 | 91.47% (0.91467) | 99.66th | v4 (v2025.03.14) |
| May 26, 2025 | 93.05% (0.93052) | 99.77th | v4 (v2025.03.14) |
| Mar 17, 2025 | 94.10% (0.94098) | 99.89th | v4 (v2025.03.14) |
| Jan 24, 2025 | 96.07% (0.96073) | 99.64th | v3 (v2023.03.01) |
| Dec 12, 2024 | 97.11% (0.97114) | 99.83th | v3 (v2023.03.01) |
| Jun 7, 2024 | 96.15% (0.96151) | 99.51th | v3 (v2023.03.01) |
| May 24, 2024 | 96.23% (0.96232) | 99.52th | v3 (v2023.03.01) |
| May 10, 2024 | 95.75% (0.95752) | 99.42th | v3 (v2023.03.01) |
| Apr 25, 2024 | 95.51% (0.95513) | 99.36th | v3 (v2023.03.01) |
| Apr 12, 2024 | 95.14% (0.95138) | 99.29th | v3 (v2023.03.01) |
| Mar 15, 2024 | 94.96% (0.94960) | 99.23th | v3 (v2023.03.01) |
| Mar 2, 2024 | 93.56% (0.93564) | 99.03th | v3 (v2023.03.01) |
| Feb 17, 2024 | 92.07% (0.92072) | 98.86th | v3 (v2023.03.01) |
| Feb 8, 2024 | 92.42% (0.92417) | 98.89th | v3 (v2023.03.01) |
| Apr 3, 2023 | 97.06% (0.97059) | 99.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.25% (0.97246) | 99.68th | v3 (v2023.03.01) |
| Mar 6, 2023 | 13.91% (0.13908) | 95.81th | v2 (v2022.01.01) |
| Apr 1, 2022 | 13.91% (0.13908) | 95.45th | v2 (v2022.01.01) |
| Feb 4, 2022 | 13.91% (0.13908) | 90.88th | v2 (v2022.01.01) |
No CWE recorded.
References (15)
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html mailing-listx_refsource_BUGTRAQBroken Link
- http://secunia.com/advisories/47393 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://struts.apache.org/2.x/docs/s2-008.html x_refsource_CONFIRMVendor Advisory
- http://struts.apache.org/2.x/docs/version-notes-2311.html x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.exploit-db.com/exploits/18329 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2012-0392 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=773162 Issue Tracking
- https://github.com/advisories/GHSA-2ppp-xj34-vvf7 Advisory
- https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e
- https://lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html mailing-listx_refsource_MLISTExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2012-0392
- https://web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- https://web.archive.org/web/20140723153720/http://secunia.com/advisories/47393/
- https://www.cve.org/CVERecord?id=CVE-2012-0392
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt x_refsource_MISCBroken Link
Change history (0)
No recorded changes yet.