Directus has a Blind SSRF On File Import
Published Jul 8, 2024
5.3
MEDIUMCVSS 4.0
EPSS 0.43%
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.
Affected products
-
- Version < 10.9.3StatusaffectedConstraints-
- Version
-
- Version 0StatusaffectedConstraints<10.9.3
- Version
No Red Hat product state for this CVE.
@directus/api
npm
Introduced 0 Fixed 17.1.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @directus/api | 0 | 17.1.0 |
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2302 Advisory
- https://github.com/advisories/GHSA-8p72-rcq4-h6pw Advisory
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 x_refsource_MISCPatch
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw x_refsource_CONFIRMExploitVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-39699
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2302 | Advisory | |
| https://github.com/advisories/GHSA-8p72-rcq4-h6pw | Advisory | |
| https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1 | x_refsource_MISCPatch | |
| https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw | x_refsource_CONFIRMExploitVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-39699 |
Change history (0)
No recorded changes yet.