CVE-2024-39699
Directus SSRF via Redirects
Description
Directus is a real-time API and App dashboard for managing SQL database content. There was already a reported SSRF vulnerability via file import. It was fixed by resolving all DNS names and checking if the requested IP is an internal IP address. However it is possible to bypass this security measure and execute a SSRF using redirects. Directus allows redirects when importing file from the URL and does not check the result URL. Thus, it is possible to execute a request to an internal IP, for example to 127.0.0.1. However, it is blind SSRF, because Directus also uses response interception technique to get the information about the connect from the socket directly and it does not show a response if the IP address is internal. This vulnerability is fixed in 10.9.3.
INFO
Published Date :
July 8, 2024, 4:15 p.m.
Last Modified :
July 9, 2024, 2:37 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.1
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-39699
.
URL | Resource |
---|---|
https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 | Patch |
https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-39699
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-39699
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N Changed Reference Type https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 No Types Assigned https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 Patch Changed Reference Type https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw No Types Assigned https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw Exploit, Vendor Advisory Added CWE NIST CWE-918 Added CPE Configuration OR *cpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:* versions up to (excluding) 10.9.3 -
CVE Received by [email protected]
Jul. 08, 2024
Action Type Old Value New Value Added Description Directus is a real-time API and App dashboard for managing SQL database content. There was already a reported SSRF vulnerability via file import. It was fixed by resolving all DNS names and checking if the requested IP is an internal IP address. However it is possible to bypass this security measure and execute a SSRF using redirects. Directus allows redirects when importing file from the URL and does not check the result URL. Thus, it is possible to execute a request to an internal IP, for example to 127.0.0.1. However, it is blind SSRF, because Directus also uses response interception technique to get the information about the connect from the socket directly and it does not show a response if the IP address is internal. This vulnerability is fixed in 10.9.3. Added Reference GitHub, Inc. https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw [No types assigned] Added Reference GitHub, Inc. https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 [No types assigned] Added CWE GitHub, Inc. CWE-918 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-39699
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-39699
weaknesses.