GitHub Advisoryadvisory · npm

GHSA-68g8-c275-xf2m Directus vulnerable to SSRF Loopback IP filter bypass

MEDIUM Published 2024-09-18 Modified 2024-09-18 Official page ↗
Aliases
CVE-2024-46990
Ecosystem
npm
Packages
directus, @directus/api
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weaknesses
CWE-284, CWE-918
Reviewed
2024-09-18

Affected packages

• npm directus: < 10.13.3 → fixed in 10.13.3 • npm directus: >= 11.0.0, < 11.1.0 → fixed in 11.1.0 • npm @directus/api: < 21.0.0 → fixed in 21.0.0 • npm @directus/api: >= 22.0.0, < 22.1.1 → fixed in 22.1.1

Description

Impact If you're relying on blocking access to localhost using the default `0.0.0.0` filter this can be bypassed using other registered loopback devices (like `127.0.0.2` - `127.127.127.127`) Workaround You can 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`.

Related

Alias · CVE (1)

  • CVE-2024-46990 Directus is a real-time API and App dashboard for managing SQL database content. vulnerability

Weakness · CWE (2)

  • CWE-284 Improper Access Control weakness
  • CWE-918 Server-Side Request Forgery weakness

References