{
  "id": "CVE-2017-9791",
  "url": "https://poc.griffinguard.io/cve/CVE-2017-9791",
  "published_at": "2017-07-10T16:00:00Z",
  "title": "Apache Struts 1 Improper Input Validation Vulnerability",
  "vendor": "Apache Software Foundation",
  "product": "Apache Struts",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-02-10",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1676
  },
  "first_poc": {
    "created_at": "2017-07-07T00:00:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -3.7,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/42324"
  },
  "poc_repo_count": 2,
  "exploit_count": 4,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "IanSmith123/s2-048",
      "url": "https://github.com/IanSmith123/s2-048",
      "created_at": "2017-07-07T12:35:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-27T14:42:50Z"
    },
    {
      "repo": "dragoneeg/Struts2-048",
      "url": "https://github.com/dragoneeg/Struts2-048",
      "created_at": "2017-07-07T18:27:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 27,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-23T07:36:29Z"
    },
    {
      "repo": "xfer0/CVE-2017-9791",
      "url": "https://github.com/xfer0/CVE-2017-9791",
      "created_at": "2017-09-23T19:08:31Z",
      "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-07-15T18:29:41Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.struts:struts2-struts1-plugin",
        "ranges": [
          "\u003c= 2.3.37"
        ],
        "fixed_in": null,
        "ecosystem": "Maven",
        "advisory": "GHSA-29rm-6752-gvwv"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/42324/",
      "source": "cvelist",
      "title": "42324",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/44643/",
      "source": "cvelist",
      "title": "44643",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/42324",
      "source": "exploitdb",
      "title": "Apache Struts 2.3.x Showcase - Remote Code Execution",
      "published_at": "2017-07-07T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/44643",
      "source": "exploitdb",
      "title": "Apache Struts 2 - Struts 1 Plugin Showcase OGNL Code Execution (Metasploit)",
      "published_at": "2018-05-17T00: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_code_exec_showcase.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache Struts 2 Struts 1 Plugin Showcase OGNL Code Execution (exploit/multi/http/struts2_code_exec_showcase)",
      "published_at": "2017-07-15T20:55:47Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-9791.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache Struts2 S2-053 - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
