Apache Struts up to 2.2.3 CookieInterceptor access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.8$0-$5k0.00

Summaryinfo

A vulnerability was found in Apache Struts and classified as critical. This affects an unknown part of the component CookieInterceptor. The manipulation results in access control. This vulnerability is reported as CVE-2012-0392. Moreover, an exploit is present. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in Apache Struts (Programming Tool Software). Affected is an unknown code of the component CookieInterceptor. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 01/03/2012 by Phil (Website). The advisory is shared for download at struts.apache.org. The public release has been coordinated in cooperation with the vendor. This vulnerability is traded as CVE-2012-0392 since 01/08/2012. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are unknown but a public exploit is available. The MITRE ATT&CK project declares the attack technique as T1068.

A public exploit has been developed by SEC Consult and been published 3 days after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 57691 (Apache Struts 2 Multiple Remote Code Execution and File Overwrite Vulnerabilities (safe check)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12542 (Apache Struts2 Multiple Vulnerabilities (S2-008)).

Upgrading to version 2.3.1.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12090.

The vulnerability is also documented in the databases at X-Force (72088), Exploit-DB (18329), Tenable (57691), SecurityFocus (BID 51257†) and OSVDB (78108†). The entries VDB-4513, VDB-4527, VDB-4528 and VDB-12291 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 8.8

VulDB Base Score: 9.8
VulDB Temp Score: 8.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: SEC Consult
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 57691
Nessus Name: Apache Struts 2 Multiple Remote Code Execution and File Overwrite Vulnerabilities (safe check)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Struts 2.3.1.1
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

01/03/2012 🔍
01/03/2012 +0 days 🔍
01/04/2012 +1 days 🔍
01/04/2012 +0 days 🔍
01/04/2012 +0 days 🔍
01/04/2012 +0 days 🔍
01/06/2012 +1 days 🔍
01/06/2012 +0 days 🔍
01/08/2012 +2 days 🔍
01/08/2012 +0 days 🔍
01/08/2012 +0 days 🔍
01/21/2012 +13 days 🔍
01/25/2012 +4 days 🔍
02/06/2012 +12 days 🔍
12/05/2024 +4686 days 🔍

Sourcesinfo

Vendor: apache.org

Advisory: struts.apache.org
Researcher: Phil
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2012-0392 (🔍)
GCVE (CVE): GCVE-0-2012-0392
GCVE (VulDB): GCVE-100-4512
X-Force: 72088
SecurityFocus: 51257 - Apache Struts Remote Command Execution and Arbitrary File Overwrite Vulnerabilities
Secunia: 47393 - Apache Struts Multiple Vulnerabilities, Highly Critical
OSVDB: 78108
SecurityTracker: 1026484 - Apache Struts Bug Lets Remote Users Overwrite Files and Execute Arbitrary Code
Vulnerability Center: 34392 - Apache Struts < 2.3.1.1 CookieInterceptor Allows Remote Code Execution via a Crafted HTTP Cookie, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 01/21/2012 01:00
Updated: 12/05/2024 10:47
Changes: 01/21/2012 01:00 (83), 04/09/2017 14:27 (14), 03/20/2021 11:08 (3), 12/05/2024 10:47 (14)
Complete: 🔍
Cache ID: 216:298:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!