CVE-2018-6009 (GCVE-0-2018-6009)

Vulnerability from cvelistv5 – Published: 2018-01-22 22:00 – Updated: 2024-08-05 05:47
VLAI?
Summary
In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.
Severity ?
No CVSS data available.
CWE
  • n/a
Assigner
References
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T05:47:56.235Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2018-01-22T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-01-22T21:57:01",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2018-6009",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7",
              "refsource": "CONFIRM",
              "url": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2018-6009",
    "datePublished": "2018-01-22T22:00:00",
    "dateReserved": "2018-01-22T00:00:00",
    "dateUpdated": "2024-08-05T05:47:56.235Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"0E54B667-316C-4443-AD6C-5CDB0BB2B7AD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.0:alpha:*:*:*:*:*:*\", \"matchCriteriaId\": \"4DC37B5E-CA70-46F5-BD57-B2960E56E02A\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.0:beta:*:*:*:*:*:*\", \"matchCriteriaId\": \"3EFF01B0-E13F-4B2A-A1A8-312C5FAB2D4D\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.0:rc:*:*:*:*:*:*\", \"matchCriteriaId\": \"C714F1E1-C752-47DF-B525-9F93E37E49F2\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"F8EA5B61-014C-4F92-A6C1-5D77BD662EDD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"AAD2A68A-8308-4D13-A495-AEFD793861E3\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"0B9F0C33-E986-4E3F-8048-2C7FFB167E27\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.4:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"38E2AF50-03AA-440B-8F36-4E3FA52A237F\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.5:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"88F14CC3-9A9C-48F5-BC06-17AE8E76A8BD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.6:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"8BDED07C-2135-40D5-A6AA-4DC45646250D\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.7:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"374488D0-6418-41E9-9061-DFBB1819A350\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.8:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"5DE87E89-2E27-49A7-82DC-4A2EAD4FDF06\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.9:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"12AD2289-7B39-4E8E-9B9F-3D19AD2941B8\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.10:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"2200E2A0-B436-499A-A72A-B23115AE4FF0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.11:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"A68A5D75-444D-47BF-B49D-08E81CE956B6\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.11.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"1225414E-4CB3-4A3C-94BD-FA9AA75B778A\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.11.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"EA7F265C-1EAB-4F9A-8D11-9F5CDE9D8F06\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.12:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"7E720459-C4D8-47E6-85C0-A8A1D90D40D9\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.13:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"6EDA0FFC-93DB-494D-B49A-0F2EA5DF7262\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:yiiframework:yiiframework:2.0.13.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"64C06D97-C4E3-4614-96A9-C5404B27B4EA\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.\"}, {\"lang\": \"es\", \"value\": \"En Yii Framework 2.x en versiones anteriores a la 2.0.14, la funci\\u00f3n switchIdentity en web/User.php no regener\\u00f3 el token CSRF tras un cambio de identidad.\"}]",
      "id": "CVE-2018-6009",
      "lastModified": "2024-11-21T04:09:52.810",
      "metrics": "{\"cvssMetricV30\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\", \"baseScore\": 8.8, \"baseSeverity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 5.9}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:M/Au:N/C:P/I:P/A:P\", \"baseScore\": 6.8, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"MEDIUM\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"PARTIAL\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 8.6, \"impactScore\": 6.4, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": true}]}",
      "published": "2018-01-22T22:29:00.207",
      "references": "[{\"url\": \"https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7\", \"source\": \"cve@mitre.org\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}]",
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-352\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2018-6009\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2018-01-22T22:29:00.207\",\"lastModified\":\"2024-11-21T04:09:52.810\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.\"},{\"lang\":\"es\",\"value\":\"En Yii Framework 2.x en versiones anteriores a la 2.0.14, la funci\u00f3n switchIdentity en web/User.php no regener\u00f3 el token CSRF tras un cambio de identidad.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:P/A:P\",\"baseScore\":6.8,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-352\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0E54B667-316C-4443-AD6C-5CDB0BB2B7AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.0:alpha:*:*:*:*:*:*\",\"matchCriteriaId\":\"4DC37B5E-CA70-46F5-BD57-B2960E56E02A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.0:beta:*:*:*:*:*:*\",\"matchCriteriaId\":\"3EFF01B0-E13F-4B2A-A1A8-312C5FAB2D4D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.0:rc:*:*:*:*:*:*\",\"matchCriteriaId\":\"C714F1E1-C752-47DF-B525-9F93E37E49F2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F8EA5B61-014C-4F92-A6C1-5D77BD662EDD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AAD2A68A-8308-4D13-A495-AEFD793861E3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0B9F0C33-E986-4E3F-8048-2C7FFB167E27\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"38E2AF50-03AA-440B-8F36-4E3FA52A237F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"88F14CC3-9A9C-48F5-BC06-17AE8E76A8BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8BDED07C-2135-40D5-A6AA-4DC45646250D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"374488D0-6418-41E9-9061-DFBB1819A350\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5DE87E89-2E27-49A7-82DC-4A2EAD4FDF06\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"12AD2289-7B39-4E8E-9B9F-3D19AD2941B8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.10:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2200E2A0-B436-499A-A72A-B23115AE4FF0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.11:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A68A5D75-444D-47BF-B49D-08E81CE956B6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.11.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"1225414E-4CB3-4A3C-94BD-FA9AA75B778A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.11.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EA7F265C-1EAB-4F9A-8D11-9F5CDE9D8F06\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"7E720459-C4D8-47E6-85C0-A8A1D90D40D9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.13:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6EDA0FFC-93DB-494D-B49A-0F2EA5DF7262\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:yiiframework:yiiframework:2.0.13.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"64C06D97-C4E3-4614-96A9-C5404B27B4EA\"}]}]}],\"references\":[{\"url\":\"https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]}]}}"
  }
}


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 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…