Vulnerability CVE-2022-22117


Published: 2022-01-10

Description:
In Directus, versions 9.0.0-alpha.4 through 9.4.1 allow unrestricted file upload of .html files in the media upload functionality, which leads to Cross-Site Scripting vulnerability. A low privileged attacker can upload a crafted HTML file as a profile avatar, and when an admin or another user opens it, the XSS payload gets triggered.

Type:

CWE-79

(Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

CVSS2 => (AV:N/AC:M/Au:S/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
3.5/10
2.9/10
6.8/10
Exploit range
Attack complexity
Authentication
Remote
Medium
Single time
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Rangerstudio -> Directus 

 References:
https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117

Copyright 2024, cxsecurity.com

 

Back to Top