CVE-2024-39699
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-918 · Server-side request forgery
- Record status
- Modified
Affected
- Monospace Directus < 10.9.3
Attack profile CVSS 3.1 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-39699.md and follow it. Check whether this project is affected by CVE-2024-39699. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw
References
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw