Apache Struts up to 2.3.34/2.5.16 Namespace input validation

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.6$0-$5k0.00

A vulnerability was found in Apache Struts up to 2.3.34/2.5.16 (Programming Tool Software). It has been declared as critical. Affected by this vulnerability is an unknown functionality of the component Namespace Handler. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when using results with no namespace and in same time, its upper action(s) have no or wildcard namespace. Same possibility when using url tag which doesn't have value and action set and in same time, its upper action(s) have no or wildcard namespace.

The bug was discovered 08/22/2018. The weakness was published 08/22/2018 by Man Yue Mo with Semmle (Website). The advisory is shared at cwiki.apache.org. This vulnerability is known as CVE-2018-11776 since 06/05/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are unknown but a public exploit is available.

A public exploit has been developed by Mazin Ahmed (mazen160) and been published 3 days after the advisory. It is possible to download the exploit at github.com. It is declared as highly functional. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 112064 (Apache Struts CVE-2018-11776 Results With No Namespace Remote Code Execution (S2-057) (remote)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 316314 (Cisco Unified Communications Manager IM And Presence Service Apache Struts Remote Code Execution Vulnerability( cisco-sa-20180823-apache-struts)). 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 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 Tenable (112064) and Exploit-DB (45262). Similar entries are available at 125531, 129459 and 158218.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.6

VulDB Base Score: 5.6
VulDB Temp Score: 5.2
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: Input validation
CWE: CWE-20
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Mazin Ahmed (mazen160)
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

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

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 112064
Nessus Name: Apache Struts CVE-2018-11776 Results With No Namespace Remote Code Execution (S2-057) (remote)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Saint ID: struts_namespace
Saint Name: Apache Struts undefined namespace vulnerability

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: struts2_namespace_ognl.rb
MetaSploit Name: Apache Struts 2 Namespace Redirect OGNL Injection
MetaSploit File: 🔍

D2Sec: Apache Struts 2 Multiple Tags Result Namespace Handling RCE

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Suricata ID: 2026025
Suricata Class: 🔍
Suricata Message: 🔍

Timelineinfo

06/05/2018 🔍
08/22/2018 +78 days 🔍
08/22/2018 +0 days 🔍
08/22/2018 +0 days 🔍
08/22/2018 +0 days 🔍
08/22/2018 +0 days 🔍
08/23/2018 +1 days 🔍
08/23/2018 +0 days 🔍
08/25/2018 +2 days 🔍
05/04/2023 +1713 days 🔍

Sourcesinfo

Vendor: apache.org

Advisory: cwiki.apache.org
Researcher: Man Yue Mo
Organization: Semmle
Status: Not defined
Confirmation: 🔍

CVE: CVE-2018-11776 (🔍)
SecurityTracker: 1041547
SecurityFocus: 105125 - Apache Struts CVE-2018-11776 Remote Code Execution Vulnerability

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

Entryinfo

Created: 08/23/2018 06:42
Updated: 05/04/2023 10:00
Changes: 08/23/2018 06:42 (75), 08/27/2018 07:30 (2), 08/27/2018 07:31 (4), 08/27/2018 07:32 (1), 03/18/2020 13:21 (16), 05/04/2023 10:00 (7)
Complete: 🔍
Submitter: edward.zhong
Committer: Simon

Submitinfo

Accepted

  • Submit #33: Apache Struts2 S2-057 (by edward.zhong)

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!