CVE-2024-39699

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductMonospace Directus
PublishedJul 8, 2024
First seenJul 8, 2024

How to fix

Update
  • monospace directus10.9.3 or later
  • @directus/api17.1.0 or later

Affected products

ProductAffected versionsFixed in
monospace directusv < 10.9.310.9.3
@directus/apinpmv < 17.1.017.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.