Apache Struts up to 2.5.12 REST Plugin XML Data deserialization

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.
6.7$0-$5k0.34

Summaryinfo

A vulnerability was found in Apache Struts up to 2.5.12. It has been classified as critical. The affected element is an unknown function of the component REST Plugin. Performing a manipulation as part of XML Data results in deserialization. This vulnerability is reported as CVE-2017-9805. The attack is possible to be carried out remotely. Moreover, an exploit is present. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, was found in Apache Struts up to 2.5.12 (Programming Tool Software). This affects an unknown code block of the component REST Plugin. The manipulation as part of a XML Data leads to a deserialization vulnerability. CWE is classifying the issue as CWE-502. The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. This is going to have an impact on confidentiality, integrity, and availability.

The bug was discovered 09/05/2017. The weakness was disclosed 09/05/2017 by Man Yue Mo as S2-052 as confirmed security advisory (Website). It is possible to read the advisory at struts.apache.org. This vulnerability is uniquely identified as CVE-2017-9805 since 06/21/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are unknown but a public exploit is available.

A public exploit has been developed in Ruby. The exploit is shared for download at securityfocus.com. It is declared as attacked. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 102960 (Apache Struts 2.1.x >= 2.1.2 / 2.2.x / 2.3.x < 2.3.34 / 2.5.x < 2.5.13 Multiple Vulnerabilities (S2-050 - S2-053)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc. and running in the context c. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370544 (Apache Struts Multiple Security Vulnerabilities (S2-050, S2-051, S2-052)). The CISA Known Exploited Vulnerabilities Catalog lists this issue since 11/03/2021 with a due date of 05/03/2022:

Apply updates per vendor instructions.

Upgrading to version 2.5.13 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (42627), Tenable (102960), SecurityFocus (BID 100609†) and SecurityTracker (ID 1039263†). The entries VDB-106165, VDB-106166 and VDB-106877 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Deserialization
CWE: CWE-502 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Attacked
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 102960
Nessus Name: Apache Struts 2.1.x >= 2.1.2 / 2.2.x / 2.3.x < 2.3.34 / 2.5.x < 2.5.13 Multiple Vulnerabilities (S2-050 - S2-053)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 801441
OpenVAS Name: Apache Struts REST Plugin With XStream Handler RCE Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Saint ID: struts_rest_plugin_xstream
Saint Name: Apache Struts REST plugin XStream deserialization vulnerability

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: struts2_rest_xstream.rb
MetaSploit Name: Apache Struts 2 REST Plugin XStream RCE
MetaSploit File: 🔍

D2Sec: Apache Struts REST Plugin XStream RCE

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Struts 2.5.13
Suricata ID: 2024663
Suricata Class: 🔍
Suricata Message: 🔍

Timelineinfo

06/21/2017 🔍
09/05/2017 +76 days 🔍
09/05/2017 +0 days 🔍
09/05/2017 +0 days 🔍
09/05/2017 +0 days 🔍
09/05/2017 +0 days 🔍
09/05/2017 +0 days 🔍
09/07/2017 +2 days 🔍
09/15/2017 +8 days 🔍
12/25/2024 +2658 days 🔍

Sourcesinfo

Vendor: apache.org

Advisory: S2-052
Researcher: Man Yue Mo
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-9805 (🔍)
GCVE (CVE): GCVE-0-2017-9805
GCVE (VulDB): GCVE-100-106167
CERT: 🔍
SecurityFocus: 100609 - Apache Struts CVE-2017-9805 Remote Code Execution Vulnerability
SecurityTracker: 1039263

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

Entryinfo

Created: 09/07/2017 09:14
Updated: 12/25/2024 21:19
Changes: 09/07/2017 09:14 (85), 11/13/2019 10:40 (17), 01/11/2021 07:43 (2), 04/19/2024 11:08 (24), 07/25/2024 17:46 (1), 09/09/2024 22:29 (1), 12/25/2024 21:19 (1)
Complete: 🔍
Cache ID: 216:770:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!