CVE-2022-24814

CVSS V2 Medium 4.3 CVSS V3 Medium 6.1
Description
Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.7.0, unauthorized JavaScript (JS) can be executed by inserting an iframe into the rich text html interface that links to a file uploaded HTML file that loads another uploaded JS file in its script tag. This satisfies the regular content security policy header, which in turn allows the file to run any arbitrary JS. This issue was resolved in version 9.7.0. As a workaround, disable the live embed in the what-you-see-is-what-you-get by adding `{ "media_live_embeds": false }` to the _Options Overrides_ option of the Rich Text HTML interface.
Overview
  • CVE ID
  • CVE-2022-24814
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-04-04T18:15:08
  • Last Modified Date
  • 2022-04-12T09:32:46
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:* 1 OR 9.7.0
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 6.1
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 2.7
References
Reference URL Reference Tags
https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84 Mitigation Third Party Advisory
https://github.com/directus/directus/pull/12020 Issue Tracking Patch Third Party Advisory
https://github.com/directus/directus/releases/tag/v9.7.0 Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 15:43:37 Added to TrackCVE
2022-12-06 14:08:15 2022-04-04T18:15Z 2022-04-04T18:15:08 CVE Published Date updated
2022-12-06 14:08:15 2022-04-12T09:32:46 CVE Modified Date updated
2022-12-06 14:08:15 Analyzed Vulnerability Status updated