ghsa-2ppp-xj34-vvf7
Vulnerability from github
Published
2022-05-04 00:29
Modified
2023-12-27 20:13
Summary
Apache Struts's CookieInterceptor component does not use the parameter-name whitelist
Details

The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.apache.struts:struts2-core"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.apache.struts.xwork:xwork-core"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2012-0392"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-27T20:13:27Z",
    "nvd_published_at": "2012-01-08T15:55:00Z",
    "severity": "MODERATE"
  },
  "details": "The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.",
  "id": "GHSA-2ppp-xj34-vvf7",
  "modified": "2023-12-27T20:13:27Z",
  "published": "2022-05-04T00:29:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0392"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/apache/struts"
    },
    {
      "type": "WEB",
      "url": "https://lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20140723153720/http://secunia.com/advisories/47393"
    },
    {
      "type": "WEB",
      "url": "http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html"
    },
    {
      "type": "WEB",
      "url": "http://struts.apache.org/2.x/docs/s2-008.html"
    },
    {
      "type": "WEB",
      "url": "http://struts.apache.org/2.x/docs/version-notes-2311.html"
    },
    {
      "type": "WEB",
      "url": "http://www.exploit-db.com/exploits/18329"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Apache Struts\u0027s CookieInterceptor component does not use the parameter-name whitelist"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…