CVE-2018-6009 (GCVE-0-2018-6009)
Vulnerability from cvelistv5 – Published: 2018-01-22 22:00 – Updated: 2024-08-05 05:47
VLAI
EPSS
VEX
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
8.8 (High)
CWE
- n/a
Assigner
References
1 reference
| URL | Tags |
|---|---|
| https://github.com/yiisoft/yii2/commit/6c0540aa2d… | x_refsource_CONFIRM |
Date Public
2018-01-22 00:00
{
"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.000Z",
"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.000Z",
"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.000Z",
"dateReserved": "2018-01-22T00:00:00.000Z",
"dateUpdated": "2024-08-05T05:47:56.235Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2018-6009",
"date": "2026-10-10",
"epss": "0.00597",
"percentile": "0.47001"
},
"fkie_nvd": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"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",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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": {
"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
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2018-01-22T22:29:00.207",
"references": [
{
"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"
],
"url": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-352"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"nvd": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"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",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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."
}
],
"id": "CVE-2018-6009",
"lastModified": "2024-11-21T04:09:52.810",
"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
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2018-01-22T22:29:00.207",
"references": [
{
"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"
],
"url": "https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-352"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…