CVE-2024-46990 SSRF Loopback IP filter bypass in directus

Medium 5.0 Published Updated

Attackers can bypass loopback IP filters in Directus to access internal services via alternative loopback addresses, requiring an upgrade to fix.

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-2024-46990?

CVE-2024-46990 is a medium-severity server-side request forgery vulnerability in Monospace Directus, published on 18 Sep 2024. 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. When relying on blocking access to localhost using the default `0.0.0.0` filter a user may bypass this block by using other registered loopback devices (like `127.0.0.2` - `127.127.127.127`). This issue has been addressed in release versions 10.13.3 and 11.1.0. Users are advised to upgrade. Users unable to upgrade may block this bypass by manually adding the `127.0.0.0/8` CIDR range which will block access to any `127.X.X.X` ip instead of just `127.0.0.1`.

Weakness: CWE-918, CWE-284

Which versions are affected by CVE-2024-46990?

8 open source packages ship an affected version, including @directus/api and directus. It affects 1 product.

PackageAffectedFixed in
@directus/api npmAll versions21.0.0
@directus/api npmAll versions21.0.0
@directus/api npmFrom 22.0.022.1.1
@directus/api npmFrom 22.0.022.1.1
directus npmAll versions10.13.3
directus npmAll versions10.13.3
2 more packages
directus npmFrom 11.0.011.1.0
directus npmFrom 11.0.011.1.0

Products include Monospace Directus.

How do I fix CVE-2024-46990?

Upgrade @directus/api to a fixed version for your release line: 21.0.0 or 22.1.1.

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

Is CVE-2024-46990 being exploited?

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

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-68g8-c275-xf2m.

Is CVE-2024-46990 in your software?

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

Check your SBOMs for free