CVE-2023-26492 Directus vulnerable to Server-Side Request Forgery On File Import

Medium 5.0 Published Updated

An attacker can exploit SSRF in Directus file import to access internal servers and steal sensitive data via DNS rebinding.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-26492?

CVE-2023-26492 is a medium-severity server-side request forgery vulnerability in Monospace Directus, published on 3 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directus is a real-time API and App dashboard for managing SQL database content. Directus is vulnerable to Server-Side Request Forgery (SSRF) when importing a file from a remote web server (POST to `/files/import`). An attacker can bypass the security controls by performing a DNS rebinding attack and view sensitive data from internal servers or perform a local port scan. An attacker can exploit this vulnerability to access highly sensitive internal server(s) and steal sensitive information. This issue was fixed in version 9.23.0.

Weakness: CWE-918

Which versions are affected by CVE-2023-26492?

2 open source packages ship an affected version, including directus. It affects 1 product.

PackageAffectedFixed in
directus npmAll versions9.23.0
directus npmAll versions9.23.0

Products include Monospace Directus.

How do I fix CVE-2023-26492?

Upgrade directus to 9.23.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2023-26492 being exploited?

There is no known exploitation of CVE-2023-26492 in the wild and no public exploit code.

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-j3rg-3rgm-537h.

Is CVE-2023-26492 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free