CVE-2018-11776
Apache Struts Remote Code Execution Vulnerability
- Published
- Aug 22, 2018
- Updated
- Oct 21, 2025
- Assigning CNA
- apache
- Evidence observed
- Aug 25, 2018
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 100.0%
- Model date
- Oct 13, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
http/cves/2018/CVE-2018-11776.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: dsl($.matchers[*].type)
struts2/s2-057
Struts2 S2-057 Remote Code Execution Vulnerablity (CVE-2018-11776)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/struts2:2.3.34-showcase(struts2/s2-057/docker-compose.yml:services.struts2.image)
modules/exploits/multi/http/struts2_namespace_ognl.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix,Windows($.exploit_multi/http/struts2_namespace_ognl.platform)
- verification: check_declared($.exploit_multi/http/struts2_namespace_ognl.check)
This tool takes advantage of CVE-2018-11776 and Shodan to perform mass exploitation of verified and vulnerable Apache Struts servers.
- S2-057-CVE-2018-11776Exploit
A simple exploit for Apache Struts RCE S2-057 (CVE-2018-11776)
- CVE-2018-11776Research
Investigation of CVE-2018-11776 vulnerability that allows attackers to remotely execute code and gain control over Apache Struts-based applications.
Docker container providing a vulnerable Apache Struts2 environment for CVE-2018-11776 exploitation practice and security education.
- StrutterExploit
Proof of Concept for CVE-2018-11776
- ApacheStruts-CVE-2018-11776Exploit
Python proof-of-concept exploit for Apache Struts2 CVE-2018-11776 remote code execution vulnerability, with Docker container for testing against affected versions 2.3-2.3.34 and 2.5-2.5.16.
- CVE-2018-11776-Python-PoCExploit
Working Python test and PoC for CVE-2018-11776, includes Docker lab
- CVE-2018-11776Exploit
Python exploit for Apache Struts2 S2-057 (CVE-2018-11776) remote code execution vulnerability. Targets unset or wildcard namespace in XML configuration to execute arbitrary commands.
- struts-pwn_CVE-2018-11776Exploit
An exploit for Apache Struts CVE-2018-11776
- CVE-2018-11776-FISExploit
Exploit for CVE-2018-11776, a remote code execution vulnerability in Apache Struts via OGNL injection. Demonstrates the attack vector and impact for security testing and educational purposes.
- Apache-Struts-v4Exploit
Exploit script targeting 5 Apache Struts RCE vulnerabilities (CVE-2013-2251, CVE-2017-5638, CVE-2017-9805, CVE-2018-11776, CVE-2019-0230) with PHP shell payload generation.
- exphubExploit
Exphub[漏洞利用脚本库] 包括Webloigc、Struts2、Tomcat、Nexus、Solr、Jboss、Drupal的漏洞利用脚本,最新添加CVE-2020-14882、CVE-2020-11444、CVE-2020-10204、CVE-2020-10199、CVE-2020-1938、CVE-2020-2551、CVE-2020-2555、CVE-2020-2883、CVE-2019-17558、CVE-2019-6340
- Apache-Struts-0Day-ExploitExploit
Critical Remote Code Execution Vulnerability (CVE-2018-11776) Found in Apache Struts.
Vulnerable docker container for CVE-2018-11776
- St2-057PoC
St2-057 Poc Example
- CVE-2018-11776Exploit
Docker-based environment for exploiting CVE-2018-11776 (Apache Struts 2 RCE) with a Python exploit script and reverse shell demo.
PoC Script for the CVE-2018-11776 vuln
Spins up an isolated test environment for experimentation with Apache Struts vulnerability CVE-2018-11776.
- cve-2018-11776-dockerExploit
Dockerized proof-of-concept exploit for CVE-2018-11776 (Apache Struts2) with a Go-based command execution payload for penetration testing and vulnerability verification.
Creating a vulnerable environment and the PoC
Mazin Ahmed · linux · Aug 26, 2018
hook-s3c · multiple · Aug 25, 2018
Metasploit · multiple · Sep 10, 2018
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.