GSD-2022-26969
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-26969",
"id": "GSD-2022-26969"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-26969"
],
"details": "In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.",
"id": "GSD-2022-26969",
"modified": "2023-12-13T01:19:39.295887Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-26969",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_affected": "?",
"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 Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md",
"refsource": "MISC",
"url": "https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md"
},
{
"name": "https://github.com/directus/directus/pull/12022",
"refsource": "MISC",
"url": "https://github.com/directus/directus/pull/12022"
},
{
"name": "https://github.com/directus/directus/releases/tag/v9.7.0",
"refsource": "MISC",
"url": "https://github.com/directus/directus/releases/tag/v9.7.0"
},
{
"name": "https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822",
"refsource": "MISC",
"url": "https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822"
},
{
"name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS",
"refsource": "MISC",
"url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c9.7.0",
"affected_versions": "All versions before 9.7.0",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2023-01-05",
"description": "In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.",
"fixed_versions": [
"9.7.0"
],
"identifier": "CVE-2022-26969",
"identifiers": [
"CVE-2022-26969",
"GHSA-g27j-74fp-xfpr",
"GMS-2022-677"
],
"not_impacted": "All versions starting from 9.7.0",
"package_slug": "npm/directus",
"pubdate": "2022-12-26",
"solution": "Upgrade to version 9.7.0 or above.",
"title": "Insecure Defaults",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-26969",
"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS",
"https://github.com/directus/directus/releases/tag/v9.7.0",
"https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822",
"https://github.com/directus/directus/pull/12022",
"https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md",
"https://github.com/directus/directus/security/advisories/GHSA-g27j-74fp-xfpr",
"https://github.com/advisories/GHSA-g27j-74fp-xfpr"
],
"uuid": "49474c61-dbf8-4445-a743-423416b19a03"
},
{
"affected_range": "\u003c0",
"affected_versions": "All versions before 9.7.0",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-04-06",
"description": "### Impact\n\nThe default value for the `CORS_ENABLED` and `CORS_ORIGIN` configuration was set to be very permissive by default. This could lead to unauthorized access in uncontrolled environments when the configuration hasn\u0027t been changed.\n\n### Patches\n\nThe default values for CORS have been changed in https://github.com/directus/directus/pull/12022 which is released under 9.7.0\n\n### Workarounds\n\nConfigure the CORS environment variables to match your project\u0027s usage, rather than leaving them at the (permissive) defaults.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [directus/directus](https://github.com/directus/directus)\n* Email us at [security@directus.io](mailto:security@directus.io)\n",
"fixed_versions": [
"9.7.0"
],
"identifier": "GMS-2022-677",
"identifiers": [
"GHSA-g27j-74fp-xfpr",
"GMS-2022-677",
"CVE-2022-26969"
],
"not_impacted": "All versions starting from 9.7.0",
"package_slug": "npm/directus",
"pubdate": "2022-04-05",
"solution": "Upgrade to version 9.7.0 or above.",
"title": "Duplicate of ./npm/directus/CVE-2022-26969.yml",
"urls": [
"https://github.com/directus/directus/security/advisories/GHSA-g27j-74fp-xfpr",
"https://github.com/directus/directus/pull/12022",
"https://github.com/advisories/GHSA-g27j-74fp-xfpr"
],
"uuid": "bd3acaa7-ca02-48cf-9f04-39c0af674fbd"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "9.7.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-26969"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS",
"refsource": "MISC",
"tags": [
"Technical Description",
"Third Party Advisory"
],
"url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"
},
{
"name": "https://github.com/directus/directus/releases/tag/v9.7.0",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/directus/directus/releases/tag/v9.7.0"
},
{
"name": "https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822"
},
{
"name": "https://github.com/directus/directus/pull/12022",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/directus/directus/pull/12022"
},
{
"name": "https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-01-05T17:47Z",
"publishedDate": "2022-12-26T06:15Z"
}
}
}
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…