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 14, 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)
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.