PoC Monitor
← All CVEs
CVE-2018-11776published 22 Aug 2018 13:00 UTCData: JSON · API

Apache Software Foundation Apache Struts

Apache Struts Remote Code Execution Vulnerability

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.

First public PoC 1.3 daysafter publication · 23 Aug 2018
Public PoCs2722 on GitHub · 5 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS8.1high · scored by CISA ADP · CWE-noinfo
CISA KEV 3 Nov 20213.2 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.apache.struts:struts2-core (Maven)
  • >= 2.0.4, < 2.3.35

Fixed in 2.3.35

from GitHub Security Advisory GHSA-cr6j-3jp9-rw65

org.apache.struts:struts2-core (Maven)
  • >= 2.5, < 2.5.17

Fixed in 2.5.17

from GitHub Security Advisory GHSA-cr6j-3jp9-rw65

Mitigation

Upgrade org.apache.struts:struts2-core to 2.3.35 or later.

Upgrade org.apache.struts:struts2-core to 2.5.17 or later.

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900+1080CVE published22 Aug 2018 · t = 0First public PoC23 Aug 2018 · t+1.3dAdded to CISA KEV3 Nov 2021 · t+3.2y

First public PoC 1.3 days after publication; added to CISA KEV 3.2 years after publication. First PoC: xfox64x/CVE-2018-11776 (created 23 Aug 2018, found by us: backfilled).

PoC repositories

Found on GitHub.

22 PoCs · 2 pending · 4 informational · 3 suspicious or fake

PoCs 22
RepositoryCreatedStarsAssessment
xfox64x/CVE-2018-11776 23 Aug 2018 +1.3 d 15 PoC
jiguangsdf/CVE-2018-11776 24 Aug 2018 +1.6 d 10 PoC
pudding2/struts2-057-exp 24 Aug 2018 +1.9 d 0 PoC
mazen160/struts-pwn_CVE-2018-11776 25 Aug 2018 +2.5 d 305 PoC
knqyf263/CVE-2018-11776 25 Aug 2018 +3 d 4 PoC
tuxotron/cve-2018-11776-docker 28 Aug 2018 +5.5 d 3 PoC
brianwrf/S2-057-CVE-2018-11776 28 Aug 2018 +6.5 d 16 PoC
649/Apache-Struts-Shodan-Exploit 29 Aug 2018 +7.3 d 56 PoC
savenas/InfoSec 18 Jun 2019 +300 d 0 PoC
OzNetNerd/apche-struts-vuln-demo-cve-2018-11776 24 Jun 2019 +306 d 0 PoC
ArunBhandarii/Apache-Struts-0Day-Exploit 10 Oct 2019 +1.1 y 16 PoC
LightC0der/Apache-Struts-0Day-Exploit 10 Oct 2019 +1.1 y 16 PoC
arlyone/Apache-Struts-0Day-Exploit 10 Oct 2019 +1.1 y 16 PoC
freshdemo/ApacheStruts-CVE-2018-11776 12 Jun 2020 +1.8 y 0 PoC
habybobica12/apache 5 Aug 2021 +3.0 y 0 PoC
sanyaade-teachings/securicad-vanguard-sdk 12 Aug 2022 +4.0 y 0 PoC
sonpt-afk/CVE-2018-11776-FIS 21 Jun 2023 +4.8 y 0 PoC
hy30nq/WHS_Struts2-S2-059- 23 Sep 2023 +5.1 y 0 PoC
hyeonql/WHS 23 Sep 2023 +5.1 y 0 PoC
hyeonql/WHS_Struts2-S2-059- 23 Sep 2023 +5.1 y 0 PoC
techgyu/WHS 23 Sep 2023 +5.1 y 0 PoC
m4sk0ff/CVE-2018-11776 9 Sep 2025 +7.1 y 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
Fnzer0/S2-057-poc 24 Aug 2018 +2 d 13 Pending · repository exceeds size limit via PoC Index
trbpnd/CVE-2018-11776 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 4
RepositoryCreatedStarsAssessment
bhdresh/CVE-2018-11776 25 Aug 2018 +2.6 d 12 Informational · write-up
Steven1ay/S2-057 23 Nov 2018 +93 d 0 Informational · write-up
cved-sources/cve-2018-11776 6 Jan 2019 +137 d 1 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

cucadili/CVE-2018-11776 8 Oct 2019 +1.1 y 0 Informational · detection
Suspicious or fake 3
RepositoryCreatedStarsAssessment
hook-s3c/CVE-2018-11776-Python-PoC 24 Aug 2018 +2 d 123 Suspicious · score 60
Why suspicious
  • README asks to download a release/binary/archive
  • contains archives (struts2-showcase-2.3.12.war)
Ekultek/Strutter 27 Aug 2018 +5.2 d 21 Fake
sanyaade-teachings/securicad-enterprise-sdk 12 Aug 2022 +4.0 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)45260unknown14 Nov 2026
CVE record (tagged exploit)45262unknown14 Nov 2026
CVE record (tagged exploit)45367unknown14 Nov 2026
Exploit-DBApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (1)26 Aug 201814 Nov 2026
Exploit-DBApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2)25 Aug 201814 Nov 2026
Exploit-DBApache Struts 2 - Namespace Redirect OGNL Injection (Metasploit)10 Sep 201814 Nov 2026
MetasploitMetasploit exploit: Apache Struts 2 Namespace Redirect OGNL Injection (exploit/multi/http/struts2_namespace_ognl)31 Aug 201814 Nov 2026
nuclei templatenuclei template: Apache Struts2 S2-057 - Remote Code Execution27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 23 PoC repos

GET /{var}/actionChain1.action

Ports
8080
Seen in
1 repo: m4sk0ff/CVE-2018-11776
Evidence
m4sk0ff/CVE-2018-11776/bashexploit.py:30 m4sk0ff/CVE-2018-11776/bashexploit.py:34

GET /{var}/chain.action

Seen in
1 repo: knqyf263/CVE-2018-11776
Evidence
knqyf263/CVE-2018-11776/exploit.py:32

GET /{var}/help.action'%(r1,r2)

Seen in
1 repo: 649/Apache-Struts-Shodan-Exploit
Evidence
649/Apache-Struts-Shodan-Exploit/Struts.py:92

GET /{var}/index.action'%(r1,r2)

Seen in
1 repo: jiguangsdf/CVE-2018-11776
Evidence
jiguangsdf/CVE-2018-11776/s2-057.py:37

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /
(?i)^/(?:[?#].*)?$
GET /{var}/help.action
(?i)^/[^/?#]*/help\.action(?:[?#].*)?$
GET /{var}/actionChain1.action
(?i)^/[^/?#]*/actionChain1\.action(?:[?#].*)?$
GET /{var}/chain.action
(?i)^/[^/?#]*/chain\.action(?:[?#].*)?$
GET /{var}/help.action'%(r1,r2)
(?i)^/[^/?#]*/help\.action'%\(r1,r2\)(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-11776 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"id=%"; reference:url,poc.griffinguard.io/cve/CVE-2018-11776; classtype:web-application-attack; sid:9557189; rev:1;)
GET /{var}/help.action
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-11776 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/help.action"; reference:url,poc.griffinguard.io/cve/CVE-2018-11776; classtype:web-application-attack; sid:9280082; rev:1;)
GET /{var}/actionChain1.action
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-11776 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/actionChain1.action"; reference:url,poc.griffinguard.io/cve/CVE-2018-11776; classtype:web-application-attack; sid:9809877; rev:1;)
GET /{var}/chain.action
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2018-11776 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/chain.action"; reference:url,poc.griffinguard.io/cve/CVE-2018-11776; classtype:web-application-attack; sid:9388262; rev:1;)
GET /{var}/help.action'%(r1,r2)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2018-11776 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/help.action'%(r1,r2)"; reference:url,poc.griffinguard.io/cve/CVE-2018-11776; classtype:web-application-attack; sid:9561068; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2018-11776)
id: gg-pocmon-cve-2018-11776-9557189
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-11776. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-11776
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.11776
GET /{var}/help.action
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2018-11776)
id: gg-pocmon-cve-2018-11776-9280082
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-11776. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-11776
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/help.action'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.11776
GET /{var}/actionChain1.action
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2018-11776)
id: gg-pocmon-cve-2018-11776-9809877
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-11776. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-11776
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/actionChain1.action'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.11776
GET /{var}/chain.action
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2018-11776)
id: gg-pocmon-cve-2018-11776-9388262
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-11776. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-11776
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/chain.action'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.11776
GET /{var}/help.action'%(r1,r2)
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2018-11776)
id: gg-pocmon-cve-2018-11776-9561068
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-11776. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-11776
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/help.action''%(r1,r2)'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.11776