{
  "id": "CVE-2012-0391",
  "url": "https://poc.griffinguard.io/cve/CVE-2012-0391",
  "published_at": "2012-01-08T15:00:00Z",
  "title": "Apache Struts 2 Improper Input Validation Vulnerability",
  "vendor": "Apache",
  "product": "Struts 2",
  "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-01-21",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 3666
  },
  "first_poc": {
    "created_at": "2012-01-06T00:00:00Z",
    "first_seen_at": null,
    "days_after_publication": -2.6,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/18329"
  },
  "poc_repo_count": 0,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.struts:struts2-core",
        "ranges": [
          "\u003c 2.2.3.1"
        ],
        "fixed_in": [
          "2.2.3.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-4wrr-9h5r-m92w"
      },
      {
        "vendor": "",
        "product": "org.apache.struts.xwork:xwork-core",
        "ranges": [
          "\u003c 2.2.3.1"
        ],
        "fixed_in": [
          "2.2.3.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-4wrr-9h5r-m92w"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.struts:struts2-core to 2.2.3.1 or later.",
      "Upgrade org.apache.struts.xwork:xwork-core to 2.2.3.1 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "http://www.exploit-db.com/exploits/18329",
      "source": "cvelist",
      "title": "18329",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/18329",
      "source": "exploitdb",
      "title": "Apache Struts 2 \u003c 2.3.1 - Multiple Vulnerabilities",
      "published_at": "2012-01-06T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/18984",
      "source": "exploitdb",
      "title": "Apache Struts 2.2.1.1 - Remote Command Execution (Metasploit)",
      "published_at": "2012-06-05T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts_code_exec_exception_delegator.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache Struts Remote Command Execution (exploit/multi/http/struts_code_exec_exception_delegator)",
      "published_at": "2012-06-03T20:08:31Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
