Описание
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.0.0, the SSRF protection on Directus's file-import-from-URL feature can be bypassed using the address 0.0.0.0 because api/src/request/is-denied-ip.ts treats 0.0.0.0 as a keyword for local interfaces but never blocks the literal address itself. On Linux and macOS, connecting to 0.0.0.0 reaches localhost, so an authenticated user with file-upload rights can make the server fetch internal services through the /files/import endpoint and retrieve the response as a downloadable file. This issue is fixed in version 12.0.0.
Ссылки
- Patch
- Issue TrackingPatch
- Release Notes
- Vendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 12.0.0 (исключая)
cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
EPSS
Процентиль: 14%
0.00234
Низкий
7.7 High
CVSS3
Дефекты
CWE-918
Связанные уязвимости
CVSS3: 7.7
github
25 дней назад
Directus: SSRF Protection Bypass via 0.0.0.0 in File Import
EPSS
Процентиль: 14%
0.00234
Низкий
7.7 High
CVSS3
Дефекты
CWE-918