Apache Struts up to 2.2.3 ExceptionDelegator Component input validation

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Apache Struts. It has been classified as problematic. The affected element is an unknown function of the component ExceptionDelegator. Performing a manipulation of the argument Component results in input validation. This vulnerability is reported as CVE-2012-0391. The attack is possible to be carried out remotely. Moreover, an exploit is present. Upgrading the affected component is recommended.
Details
A vulnerability classified as critical has been found in Apache Struts (Programming Tool Software). This affects an unknown code block of the component ExceptionDelegator. The manipulation of the argument Component with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.
The bug was discovered 11/18/2011. The weakness was disclosed 01/06/2012 by Phil (Website). It is possible to read the advisory at vmware.com. The public release has been coordinated in cooperation with Apache. This vulnerability is uniquely identified as CVE-2012-0391 since 01/08/2012. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known.
A public exploit has been developed by SEC Consult and been published immediately after the advisory. The exploit is shared for download at exploit-db.com. It is declared as attacked. The vulnerability was handled as a non-public zero-day exploit for at least 46 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 69240 (Apache Struts 2 ExceptionDelegator Arbitrary Remote Command Execution), 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)). The CISA Known Exploited Vulnerabilities Catalog lists this issue since 01/21/2022 with a due date of 07/21/2022:
Apply updates per vendor instructions.Upgrading to version 2.2.3.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12087.
The vulnerability is also documented in the databases at X-Force (72229), Exploit-DB (18329), Tenable (69240), SecurityFocus (BID 78276†) and OSVDB (78277†). The entries VDB-4513, VDB-4528, VDB-4512 and VDB-12291 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.0.10
- 2.0.11
- 2.0.11.1
- 2.0.11.2
- 2.0.12
- 2.0.13
- 2.0.14
- 2.1.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.6
- 2.1.8
- 2.1.8.1
- 2.2.1
- 2.2.1.1
- 2.2.3
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 8.4
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Attacked
Author: SEC Consult
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 69240
Nessus Name: Apache Struts 2 ExceptionDelegator Arbitrary Remote Command Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Saint ID: exploit_info/apache_struts2_conversionerrorinterceptor_java_injection
Saint Name: Apache Struts 2 ConversionErrorInterceptor Java Injection
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: struts_code_exec_exception_delegator.rb
MetaSploit Name: Apache Struts Remote Command Execution
MetaSploit File: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: Struts 2.2.3.1
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
11/18/2011 🔍01/03/2012 🔍
01/04/2012 🔍
01/04/2012 🔍
01/05/2012 🔍
01/06/2012 🔍
01/06/2012 🔍
01/06/2012 🔍
01/08/2012 🔍
01/08/2012 🔍
01/08/2012 🔍
01/14/2012 🔍
01/21/2012 🔍
08/07/2013 🔍
08/13/2013 🔍
12/19/2024 🔍
Sources
Vendor: apache.orgAdvisory: vmware.com
Researcher: Phil
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2012-0391 (🔍)
GCVE (CVE): GCVE-0-2012-0391
GCVE (VulDB): GCVE-100-4527
X-Force: 72229
SecurityFocus: 78276
Secunia: 47393 - Apache Struts Multiple Vulnerabilities, Highly Critical
OSVDB: 78277
SecurityTracker: 1026484 - Apache Struts Bug Lets Remote Users Overwrite Files and Execute Arbitrary Code
Vulnerability Center: 41018 - Apache Struts <2.2.3.1 ExceptionDelegator Allows Remote Code Execution Vulnerability, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 01/21/2012 01:00Updated: 12/19/2024 21:54
Changes: 01/21/2012 01:00 (88), 08/25/2017 19:24 (13), 03/20/2021 12:03 (4), 03/20/2021 12:06 (1), 04/22/2024 16:16 (23), 09/09/2024 22:29 (1), 12/19/2024 21:54 (1)
Complete: 🔍
Cache ID: 216:523:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.