SecurityContext

CVE-2018-11776: Apache Struts - Remote Code Execution

  • Cve: CVE-2018-11776
  • Name: Apache Struts - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary code remotely, leading to full system compromise.
  • Remediation: Update to the latest version of Apache Struts, preferably beyond 2.5.16 or apply security patches addressing namespace handling.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.99996
  • Epss percentile: 0.99989
  • Assignee: [email protected]
  • Published at: 2018-08-22T13:29:00Z
  • Age in days: 3016
  • Modified at: 2026-06-17T01:36:34Z
  • Patch available: yes
  • Public exploits total: 42
  • References total: 27
  • Products total: 8
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-11776
  • Nvd status: analyzed
  • Checked, none or zero: public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
NVD-CWE-noinfo—

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2021-11-032022-05-03no
vulncheck2018-12-18—no

Nuclei templates

IdUrl
CVE-2018-11776https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11776.yaml

Hackerone

  • Reports: 3
  • Rank: 3240

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2018-08-22
Url
https://github.com/hook-s3c/CVE-2018-11776-Python-PoC
https://lgtm.com/blog/apache_struts_CVE-2018-11776
https://www.exploit-db.com/exploits/45260/
https://www.exploit-db.com/exploits/45262/
https://www.exploit-db.com/exploits/45367/

References

Same in every row:

  • Source: nvd
UrlTags
http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.htmlPatch, Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlPatch, Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlPatch, Third Party Advisory
https://github.com/hook-s3c/CVE-2018-11776-Python-PoCExploit, Third Party Advisory
https://lgtm.com/blog/apache_struts_CVE-2018-11776Exploit, Third Party Advisory
https://www.exploit-db.com/exploits/45260/Exploit, Third Party Advisory, VDB Entry
https://www.exploit-db.com/exploits/45262/Exploit, Third Party Advisory, VDB Entry
https://www.exploit-db.com/exploits/45367/Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.htmlThird Party Advisory, VDB Entry
https://cwiki.apache.org/confluence/display/WW/S2-057Issue Tracking, Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
apache:struts>= 2.5.0, < 2.5.17; >= 2.0.4, < 2.3.35/v1/products/apache/struts
netapp:oncommand_insightall versions/v1/products/netapp/oncommand_insight
netapp:active_iq_unified_manager>= 9.5, >= 7.3/v1/products/netapp/active_iq_unified_manager
netapp:oncommand_workflow_automationall versions/v1/products/netapp/oncommand_workflow_automation
netapp:snapcenterall versions/v1/products/netapp/snapcenter
oracle:enterprise_manager_base_platform= 13.4.0.0, = 13.3.0.0/v1/products/oracle/enterprise_manager_base_platform
oracle:mysql_enterprise_monitor>= 8.0.0, <= 8.0.2.8191; >= 4.0.0, <= 4.0.6.5281; <= 3.4.9.4237/v1/products/oracle/mysql_enterprise_monitor
oracle:communications_policy_management< 12.5.0/v1/products/oracle/communications_policy_management

Projects

RepositoryLink kindsIndexedUrl
apache/strutscommit, packageyes/v1/repositories/apache/struts

Index

  • Repositories: 19
  • Repositories high signal: 7
  • Packages: 1

Exploitation

  • Known exploited: yes
  • Known exploited since: 2021-11-03
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2018-12-18
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 42
  • Public exploit first date: 2018-08-22
  • Remote: yes
  • Hackerone reports: 3
  • Exposed hosts: 2143
  • Checked, none or zero: initial access, authentication required
  • Not known: initial access since

Nuclei template