{
  "id": "CVE-2018-11776",
  "url": "https://poc.griffinguard.io/cve/CVE-2018-11776",
  "published_at": "2018-08-22T13:00:00Z",
  "title": "Apache Struts Remote Code Execution Vulnerability",
  "vendor": "Apache Software Foundation",
  "product": "Apache Struts",
  "cvss": {
    "score": 8.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1169
  },
  "first_poc": {
    "created_at": "2018-08-23T20:06:17Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.3,
    "repo": "xfox64x/CVE-2018-11776",
    "source": "github"
  },
  "poc_repo_count": 22,
  "exploit_count": 5,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "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.",
  "cwe": "CWE-noinfo",
  "cvss_by_source": {
    "cisa-adp": 8.1
  },
  "repos": [
    {
      "repo": "trbpnd/CVE-2018-11776",
      "url": "https://github.com/trbpnd/CVE-2018-11776",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "xfox64x/CVE-2018-11776",
      "url": "https://github.com/xfox64x/CVE-2018-11776",
      "created_at": "2018-08-23T20:06:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 15,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-11T01:49:39Z"
    },
    {
      "repo": "jiguangsdf/CVE-2018-11776",
      "url": "https://github.com/jiguangsdf/CVE-2018-11776",
      "created_at": "2018-08-24T03:01:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-30T14:16:40Z"
    },
    {
      "repo": "pudding2/struts2-057-exp",
      "url": "https://github.com/pudding2/struts2-057-exp",
      "created_at": "2018-08-24T11:07:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-05-06T09:55:38Z"
    },
    {
      "repo": "hook-s3c/CVE-2018-11776-Python-PoC",
      "url": "https://github.com/hook-s3c/CVE-2018-11776-Python-PoC",
      "created_at": "2018-08-24T11:53:02Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z",
      "stars": 123,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 60,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "contains archives (struts2-showcase-2.3.12.war)"
      ],
      "status": "analyzed",
      "owner_created_at": "2017-09-10T16:35:15Z"
    },
    {
      "repo": "Fnzer0/S2-057-poc",
      "url": "https://github.com/Fnzer0/S2-057-poc",
      "created_at": "2018-08-24T11:57:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 13,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2017-06-30T08:17:15Z"
    },
    {
      "repo": "mazen160/struts-pwn_CVE-2018-11776",
      "url": "https://github.com/mazen160/struts-pwn_CVE-2018-11776",
      "created_at": "2018-08-25T01:53:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 305,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-10-02T12:04:09Z"
    },
    {
      "repo": "bhdresh/CVE-2018-11776",
      "url": "https://github.com/bhdresh/CVE-2018-11776",
      "created_at": "2018-08-25T03:06:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 12,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-09-26T18:15:50Z"
    },
    {
      "repo": "knqyf263/CVE-2018-11776",
      "url": "https://github.com/knqyf263/CVE-2018-11776",
      "created_at": "2018-08-25T12:45:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-08-31T07:56:45Z"
    },
    {
      "repo": "Ekultek/Strutter",
      "url": "https://github.com/Ekultek/Strutter",
      "created_at": "2018-08-27T17:22:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 21,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-09-08T16:26:08Z"
    },
    {
      "repo": "tuxotron/cve-2018-11776-docker",
      "url": "https://github.com/tuxotron/cve-2018-11776-docker",
      "created_at": "2018-08-28T01:14:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-07-25T16:13:58Z"
    },
    {
      "repo": "brianwrf/S2-057-CVE-2018-11776",
      "url": "https://github.com/brianwrf/S2-057-CVE-2018-11776",
      "created_at": "2018-08-28T23:48:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-07-12T07:42:15Z"
    },
    {
      "repo": "649/Apache-Struts-Shodan-Exploit",
      "url": "https://github.com/649/Apache-Struts-Shodan-Exploit",
      "created_at": "2018-08-29T19:50:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 56,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-11-17T22:33:54Z"
    },
    {
      "repo": "Steven1ay/S2-057",
      "url": "https://github.com/Steven1ay/S2-057",
      "created_at": "2018-11-23T11:30:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-04-28T07:44:13Z"
    },
    {
      "repo": "cved-sources/cve-2018-11776",
      "url": "https://github.com/cved-sources/cve-2018-11776",
      "created_at": "2019-01-06T22:47:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-01-06T17:06:27Z"
    },
    {
      "repo": "savenas/InfoSec",
      "url": "https://github.com/savenas/InfoSec",
      "created_at": "2019-06-18T23:20:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-02-09T22:01:21Z"
    },
    {
      "repo": "OzNetNerd/apche-struts-vuln-demo-cve-2018-11776",
      "url": "https://github.com/OzNetNerd/apche-struts-vuln-demo-cve-2018-11776",
      "created_at": "2019-06-24T02:51:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-24T23:59:10Z"
    },
    {
      "repo": "cucadili/CVE-2018-11776",
      "url": "https://github.com/cucadili/CVE-2018-11776",
      "created_at": "2019-10-08T23:01:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-14T20:11:24Z"
    },
    {
      "repo": "ArunBhandarii/Apache-Struts-0Day-Exploit",
      "url": "https://github.com/ArunBhandarii/Apache-Struts-0Day-Exploit",
      "created_at": "2019-10-10T13:09:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-09T12:15:49Z"
    },
    {
      "repo": "LightC0der/Apache-Struts-0Day-Exploit",
      "url": "https://github.com/LightC0der/Apache-Struts-0Day-Exploit",
      "created_at": "2019-10-10T13:09:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-09T12:15:49Z"
    },
    {
      "repo": "arlyone/Apache-Struts-0Day-Exploit",
      "url": "https://github.com/arlyone/Apache-Struts-0Day-Exploit",
      "created_at": "2019-10-10T13:09:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-09T12:15:49Z"
    },
    {
      "repo": "freshdemo/ApacheStruts-CVE-2018-11776",
      "url": "https://github.com/freshdemo/ApacheStruts-CVE-2018-11776",
      "created_at": "2020-06-12T18:46:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-02-04T23:30:52Z"
    },
    {
      "repo": "habybobica12/apache",
      "url": "https://github.com/habybobica12/apache",
      "created_at": "2021-08-05T07:37:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-27T07:00:02Z"
    },
    {
      "repo": "sanyaade-teachings/securicad-enterprise-sdk",
      "url": "https://github.com/sanyaade-teachings/securicad-enterprise-sdk",
      "created_at": "2022-08-12T08:04:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-07-11T23:00:19Z"
    },
    {
      "repo": "sanyaade-teachings/securicad-vanguard-sdk",
      "url": "https://github.com/sanyaade-teachings/securicad-vanguard-sdk",
      "created_at": "2022-08-12T08:04:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-07-11T23:00:19Z"
    },
    {
      "repo": "sonpt-afk/CVE-2018-11776-FIS",
      "url": "https://github.com/sonpt-afk/CVE-2018-11776-FIS",
      "created_at": "2023-06-21T15:08:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-03T03:38:15Z"
    },
    {
      "repo": "hy30nq/WHS_Struts2-S2-059-",
      "url": "https://github.com/hy30nq/WHS_Struts2-S2-059-",
      "created_at": "2023-09-23T09:17:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-27T13:17:25Z"
    },
    {
      "repo": "hyeonql/WHS",
      "url": "https://github.com/hyeonql/WHS",
      "created_at": "2023-09-23T09:17:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-27T13:17:25Z"
    },
    {
      "repo": "hyeonql/WHS_Struts2-S2-059-",
      "url": "https://github.com/hyeonql/WHS_Struts2-S2-059-",
      "created_at": "2023-09-23T09:17:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-27T13:17:25Z"
    },
    {
      "repo": "techgyu/WHS",
      "url": "https://github.com/techgyu/WHS",
      "created_at": "2023-09-23T09:17:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-27T13:17:25Z"
    },
    {
      "repo": "m4sk0ff/CVE-2018-11776",
      "url": "https://github.com/m4sk0ff/CVE-2018-11776",
      "created_at": "2025-09-09T13:33:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-06-26T11:23:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.struts:struts2-core",
        "ranges": [
          "\u003e= 2.0.4, \u003c 2.3.35"
        ],
        "fixed_in": [
          "2.3.35"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-cr6j-3jp9-rw65"
      },
      {
        "vendor": "",
        "product": "org.apache.struts:struts2-core",
        "ranges": [
          "\u003e= 2.5, \u003c 2.5.17"
        ],
        "fixed_in": [
          "2.5.17"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-cr6j-3jp9-rw65"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.struts:struts2-core to 2.3.35 or later.",
      "Upgrade org.apache.struts:struts2-core to 2.5.17 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/45260/",
      "source": "cvelist",
      "title": "45260",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/45262/",
      "source": "cvelist",
      "title": "45262",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/45367/",
      "source": "cvelist",
      "title": "45367",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/45260",
      "source": "exploitdb",
      "title": "Apache Struts 2.3 \u003c 2.3.34 / 2.5 \u003c 2.5.16 - Remote Code Execution (1)",
      "published_at": "2018-08-26T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/45262",
      "source": "exploitdb",
      "title": "Apache Struts 2.3 \u003c 2.3.34 / 2.5 \u003c 2.5.16 - Remote Code Execution (2)",
      "published_at": "2018-08-25T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/45367",
      "source": "exploitdb",
      "title": "Apache Struts 2 - Namespace Redirect OGNL Injection (Metasploit)",
      "published_at": "2018-09-10T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts2_namespace_ognl.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache Struts 2 Namespace Redirect OGNL Injection (exploit/multi/http/struts2_namespace_ognl)",
      "published_at": "2018-08-31T18:48:22Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11776.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache Struts2 S2-057 - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/",
      "body_markers": [
        "id=%"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "hy30nq/WHS_Struts2-S2-059-",
        "hyeonql/WHS",
        "hyeonql/WHS_Struts2-S2-059-",
        "techgyu/WHS"
      ],
      "repo_count": 4,
      "confidence": 0.7,
      "evidence": [
        "hy30nq/WHS_Struts2-S2-059-/POC.py:20",
        "hy30nq/WHS_Struts2-S2-059-/POC.py:25",
        "hyeonql/WHS/POC.py:20",
        "hyeonql/WHS/POC.py:25",
        "hyeonql/WHS_Struts2-S2-059-/POC.py:20",
        "hyeonql/WHS_Struts2-S2-059-/POC.py:25",
        "techgyu/WHS/POC.py:20",
        "techgyu/WHS/POC.py:25"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/help.action",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "649/Apache-Struts-Shodan-Exploit",
        "tuxotron/cve-2018-11776-docker"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "649/Apache-Struts-Shodan-Exploit/Struts.py:88",
        "649/Apache-Struts-Shodan-Exploit/Struts.py:71",
        "tuxotron/cve-2018-11776-docker/exploit-cve-2018-11776.go:39"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/actionChain1.action",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "m4sk0ff/CVE-2018-11776"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "m4sk0ff/CVE-2018-11776/bashexploit.py:30",
        "m4sk0ff/CVE-2018-11776/bashexploit.py:34"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/chain.action",
      "protocol": "http",
      "repos": [
        "knqyf263/CVE-2018-11776"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "knqyf263/CVE-2018-11776/exploit.py:32"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/help.action'%(r1,r2)",
      "protocol": "http",
      "repos": [
        "649/Apache-Struts-Shodan-Exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "649/Apache-Struts-Shodan-Exploit/Struts.py:92"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/index.action'%(r1,r2)",
      "protocol": "https",
      "repos": [
        "jiguangsdf/CVE-2018-11776"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "jiguangsdf/CVE-2018-11776/s2-057.py:37"
      ]
    }
  ],
  "rules": []
}
