Directus vulnerable to SSRF Loopback IP filter bypass
Moderate severity
GitHub Reviewed
Published
Sep 18, 2024
in
directus/directus
•
Updated Sep 19, 2024
Description
Published by the National Vulnerability Database
Sep 18, 2024
Published to the GitHub Advisory Database
Sep 18, 2024
Reviewed
Sep 18, 2024
Last updated
Sep 19, 2024
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 (like127.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 any127.X.X.X
ip instead of just127.0.0.1
.References