CVE-2018-11776

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by...

Basic Information

CVE State
PUBLISHED
Reserved Date
June 05, 2018
Published Date
August 22, 2018
Last Updated
February 06, 2025
Vendor
Apache Software Foundation
Product
Apache Struts
Description
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

CVSS Scores

SSVC Information

Exploitation
active
Technical Impact
total

Exploit Status

Exploited in the Wild
Yes (added 2021-11-03 00:00:00 UTC) Source
Proof of Concept Available
Yes (added 2020-06-12 18:46:29 UTC) Source

Known Exploited Vulnerability Information

Source Added Date
CISA 2021-11-03 00:00:00 UTC

Potential Proof of Concepts

Warning: These PoCs have not been tested and could contain malware. Use at your own risk.

struts2_namespace_ognl

Type: metasploit • Created: Unknown

Metasploit module for CVE-2018-11776

sonpt-afk/CVE-2018-11776-FIS

Type: github • Created: 2023-06-21 15:08:39 UTC • Stars: 0

freshdemo/ApacheStruts-CVE-2018-11776

Type: github • Created: 2020-06-12 18:46:29 UTC • Stars: 0

cucadili/CVE-2018-11776

Type: github • Created: 2019-10-08 23:01:49 UTC • Stars: 0

Investigation of CVE-2018-11776 vulnerability that allows attackers to remotely execute code and gain control over Apache Struts-based applications.

brianwrf/S2-057-CVE-2018-11776

Type: github • Created: 2018-08-28 23:48:14 UTC • Stars: 15

A simple exploit for Apache Struts RCE S2-057 (CVE-2018-11776)

knqyf263/CVE-2018-11776

Type: github • Created: 2018-08-25 12:45:15 UTC • Stars: 3

Environment for CVE-2018-11776 / S2-057 (Apache Struts 2)

bhdresh/CVE-2018-11776

Type: github • Created: 2018-08-25 03:06:30 UTC • Stars: 10

Vulnerable docker container for CVE-2018-11776

mazen160/struts-pwn_CVE-2018-11776

Type: github • Created: 2018-08-25 01:53:30 UTC • Stars: 301

An exploit for Apache Struts CVE-2018-11776

hook-s3c/CVE-2018-11776-Python-PoC

Type: github • Created: 2018-08-24 11:53:02 UTC • Stars: 125

Working Python test and PoC for CVE-2018-11776, includes Docker lab

jiguangsdf/CVE-2018-11776

Type: github • Created: 2018-08-24 03:01:29 UTC • Stars: 10

CVE-2018-11776(S2-057) EXPLOIT CODE

xfox64x/CVE-2018-11776

Type: github • Created: 2018-08-23 20:06:17 UTC • Stars: 15

Creating a vulnerable environment and the PoC