FKIE_CVE-2012-4386

Vulnerability from fkie_nvd - Published: 2012-09-05 23:55 - Updated: 2026-06-16 23:44
Severity
Summary
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
Impacted products
Vendor Product Version
apache struts 2.0.0
apache struts 2.0.1
apache struts 2.0.2
apache struts 2.0.3
apache struts 2.0.4
apache struts 2.0.5
apache struts 2.0.6
apache struts 2.0.7
apache struts 2.0.8
apache struts 2.0.9
apache struts 2.0.10
apache struts 2.0.11
apache struts 2.0.11.1
apache struts 2.0.11.2
apache struts 2.0.12
apache struts 2.0.13
apache struts 2.0.14
apache struts 2.1.0
apache struts 2.1.1
apache struts 2.1.2
apache struts 2.1.3
apache struts 2.1.4
apache struts 2.1.5
apache struts 2.1.6
apache struts 2.1.8
apache struts 2.1.8.1
apache struts 2.2.1
apache struts 2.2.1.1
apache struts 2.2.3
apache struts 2.2.3.1
apache struts 2.3.1
apache struts 2.3.1.1
apache struts 2.3.1.2
apache struts 2.3.3
apache struts 2.3.4

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "secalert@redhat.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "5CF11DCF-6F6E-4E18-988E-E43918FBB8A6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "BE3A90B7-C632-4D3E-9A4F-21E46D273B42",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "386538BE-F258-4870-8E11-750ADA228026",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "B4CF15B9-3714-4206-9971-1F7D59E20483",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "DFA32D87-65C7-4589-86B7-500BE3203CFA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "98C3FB11-4E24-4067-A3A9-021F849DAAE3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "4DCF2D72-90F1-4D1B-94A2-5BB3D8C086C2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "661F1610-9FCD-4FC1-BCA1-69C58E0A1389",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "D9C89E22-B106-4EAB-90A1-0EA86C165737",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "6E1BABB2-780E-47E0-87A9-A164906C8421",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "AC32348E-7EF4-411C-9A44-CD041ABFA0E2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "94BD452B-AE41-4F7A-9DB9-4B1039582537",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "ACFDC53B-7B8E-4333-BC87-E01024EC9C21",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "9F0818E7-B617-4C30-BFAC-9FE2F375F8BD",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "50F4A58E-F3D4-4711-A37E-EA538B112371",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:*",
              "matchCriteriaId": "EFFCC96F-FD87-4495-B8A5-19D7898D5662",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:*",
              "matchCriteriaId": "DEA0424E-84B4-41BD-8E6C-93E2A77DD6CA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "CEC53AE5-3640-4FE1-B0B1-EA26C5B9EB9B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "662A2E4B-A76A-4498-98A6-F90DF65C62B7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "4E720B3A-4CFB-47FE-B80C-67C59D4C7FD4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "CA687B56-A09B-4741-84F1-2BD9569A3F76",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "0BC0E358-8B4D-480B-BFAE-966CB697310A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "2B7E8E1C-C667-4AED-86A5-2BD0C62AAD76",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "88B3348C-1086-4A16-97E3-52DB65FF860A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "3C65711D-9C5B-4644-A12D-82243CB6FB1E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "FC1FA9A7-2C8E-4651-9400-190198528642",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "FA9093C0-AE6A-4285-B159-8FDBF37E33D7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "267A1C33-1C95-41DA-8A01-6F20C7BE1772",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "7E4590B9-6A44-4DC6-B7DF-5E6CAAA9D25A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "30860683-D403-4D24-B356-FD306AEFCA46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4E3316DA-9E34-4955-91CA-E35B141A7007",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "0D152B29-FAD5-4DEA-B187-278EBD37FEB4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "2AC68463-F500-471C-8600-8F8FD9743B12",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "A92AAE08-4811-465A-8178-25F5F349B8BA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "B487975D-6394-4136-B45C-C1F209465B24",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute."
    },
    {
      "lang": "es",
      "value": "El mecanismo de control token en Apache Struts v2.0.0 a trav\u00e9s de v2.3.4 no valida correctamente el par\u00e1metro de configuraci\u00f3n name permitiendo a atacantes remotos realizar  ataques de falsificaciones de petici\u00f3n en sitios cruzados (CSRF) estableciendo el par\u00e1metro name de la configuraci\u00f3n simb\u00f3lica a un atributo de sesi\u00f3n"
    }
  ],
  "id": "CVE-2012-4386",
  "lastModified": "2026-06-16T23:44:55.210",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2012-09-05T23:55:02.663",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50420"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://struts.apache.org/2.x/docs/s2-010.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/01/4"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/01/5"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/55346"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78182"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://issues.apache.org/jira/browse/WW-3858"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/50420"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://struts.apache.org/2.x/docs/s2-010.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/01/4"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/01/5"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/55346"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78182"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://issues.apache.org/jira/browse/WW-3858"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-352"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…