p PatchFirst

PatchFirst · Latest vulnerabilities

directus vulnerabilities · Page 3

Vulnerabilities published for directus in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 58

  1. CVE-2024-34709

    Medium · CVSS 5.4EPSS 0.45%Fix available

    Directus Lacks Session Tokens Invalidation

    Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, session tokens function like the other JWT tokens where they are not actually invalidated when logging out. The `directus_session` gets destroyed and the cookie gets deleted but if the cookie value is captured, it will still work for the entire expiry time which is set to 1 day by default. Making it effectively a long lived unrevokable stateless token instead of the stateful session token it was meant to be. This vulnerability is fixed in 10.11.0.

    • Update to 10.11.0
    Published Updated
  2. CVE-2024-34708

    Medium · CVSS 4.9EPSS 0.76%Fix available

    Directus allows redacted data extraction on the API through "alias"

    Directus is a real-time API and App dashboard for managing SQL database content. A user with permission to view any collection using redacted hashed fields can get access the raw stored version using the `alias` functionality on the API. Normally, these redacted fields will return `**********` however if we change the request to `?alias[workaround]=redacted` we can instead retrieve the plain text value for the field. This can be avoided by removing permission to view the sensitive fields entirely from users or roles that should not be able to see them. This vulnerability is fixed in 10.11.0.

    • Update to 10.11.0
    Published Updated
  3. CVE-2024-28238

    Low · CVSS 2.3EPSS 0.24%Fix available

    Session Token in URL in directus

    Directus is a real-time API and App dashboard for managing SQL database content. When reaching the /files page, a JWT is passed via GET request. Inclusion of session tokens in URLs poses a security risk as URLs are often logged in various places (e.g., web server logs, browser history). Attackers gaining access to these logs may hijack active user sessions, leading to unauthorized access to sensitive information or actions on behalf of the user. This issue has been addressed in version 10.10.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Update to 10.10.0
    Published Updated
  4. CVE-2024-28239

    Medium · CVSS 5.4EPSS 0.58%Fix available

    URL Redirection to Untrusted Site in OAuth2/OpenID in directus

    Directus is a real-time API and App dashboard for managing SQL database content. The authentication API has a `redirect` parameter that can be exploited as an open redirect vulnerability as the user tries to log in via the API URL. There's a redirect that is done after successful login via the Auth API GET request to `directus/auth/login/google?redirect=http://malicious-fishing-site.com`. While credentials don't seem to be passed to the attacker site, the user can be phished into clicking a legitimate directus site and be taken to a malicious site made to look like a an error message "Your password needs to be updated" to phish out the curren

    • Update to 10.10.0
    Published Updated
  5. CVE-2024-27296

    Medium · CVSS 5.3EPSS 0.57%Fix available

    Directus version number disclosure

    Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 10.8.3, the exact Directus version number was being shipped in compiled JS bundles which are accessible without authentication. With this information a malicious attacker can trivially look for known vulnerabilities in Directus core or any of its shipped dependencies in that specific running version. The problem has been resolved in versions 10.8.3 and newer.

    • Update to 10.8.3
    Published Updated
  6. CVE-2024-27295

    High · CVSS 8.2EPSS 0.7%Fix available

    Directus MySQL accent insensitive email matching

    Directus is a real-time API and App dashboard for managing SQL database content. The password reset mechanism of the Directus backend allows attackers to receive a password reset email of a victim user, specifically having it arrive at a similar email address as the victim with a one or more characters changed to use accents. This is due to the fact that by default MySQL/MariaDB are configured for accent-insensitive and case-insensitive comparisons. This vulnerability is fixed in version 10.8.3.

    • Update to 10.8.3
    Published Updated
  7. CVE-2023-45820

    Medium · CVSS 5.9EPSS 0.83%Fix available

    Directus crashes on invalid WebSocket message

    Directus is a real-time API and App dashboard for managing SQL database content. In affected versions any Directus installation that has websockets enabled can be crashed if the websocket server receives an invalid frame. A malicious user could leverage this bug to crash Directus. This issue has been addressed in version 10.6.2. Users are advised to upgrade. Users unable to upgrade should avoid using websockets.

    • Update to 10.6.2
    Published Updated
  8. GHSA-22rr-f3p8-5gf8

    High · CVSS 7.6Fix available

    Directus affected by VM2 sandbox escape vulnerability

    ### Impact In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code. Within Directus this applies to the "Run Script" operation in flows being able to escape the sandbox running code in the main nodejs context. ### Patches Patched in v10.6.0 by replacing `vm2` with `isolated-vm` ### Workarounds None ### References https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5

    • Update to 10.6.0
    Published Updated
  9. CVE-2023-38503

    Medium · CVSS 5.7EPSS 0.5%Fix available

    Directus has Incorrect Permission Checking for GraphQL Subscriptions

    Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 10.3.0 and prior to version 10.5.0, the permission filters (i.e. `user_created IS $CURRENT_USER`) are not properly checked when using GraphQL subscription resulting in unauthorized users getting event on their subscription which they should not be receiving according to the permissions. This can be any collection but out-of-the box the `directus_users` collection is configured with such a permissions filter allowing you to get updates for other users when changes happen. Version 10.5.0 contains a patch. As a workaround, disable GraphQL subscri

    • Update to 10.5.0
    Published Updated
  10. CVE-2023-28443

    Medium · CVSS 4.2EPSS 0.31%Fix available

    directus vulnerable to Insertion of Sensitive Information into Log File

    Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.23.3, the `directus_refresh_token` is not redacted properly from the log outputs and can be used to impersonate users without their permission. This issue is patched in version 9.23.3.

    • Update to 9.23.3
    Published Updated
  11. CVE-2023-27481

    Medium · CVSS 4.3EPSS 0.6%Fix available

    Extract password hashes through export querying in directus

    Directus is a real-time API and App dashboard for managing SQL database content. In versions prior to 9.16.0 users with read access to the `password` field in `directus_users` can extract the argon2 password hashes by brute forcing the export functionality combined with a `_starts_with` filter. This allows the user to enumerate the password hashes. Accounts cannot be taken over unless the hashes can be reversed which is unlikely with current hardware. This problem has been patched by preventing any hashed/concealed field to be filtered against with the `_starts_with` or other string operator in version 9.16.0. Users are advised to upgrade. Us

    • Update to 9.16.0
    Published Updated
  12. CVE-2023-27474

    High · CVSS 8EPSS 0.53%Fix available

    HTML Injection in Password Reset email to custom Reset URL in directus

    Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed reset URL are vulnerable to an HTML injection attack through the use of query parameters in the reset URL. An attacker could exploit this to email users urls to the servers domain but which may contain malicious code. The problem has been resolved and released under version 9.23.0. People relying on a custom password reset URL should upgrade to 9.23.0 or later, or remove the custom reset url from the configured allow list. Users are advised to upgrade. Users unable to upgrade may disable the custom reset URL allow list as a wo

    • Update to 9.23.0
    Published Updated
  13. CVE-2023-26492

    Medium · CVSS 5EPSS 0.96%Fix available

    Directus vulnerable to Server-Side Request Forgery On File Import

    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.

    • Update to 9.23.0
    Published Updated
  14. CVE-2022-36031

    Medium · CVSS 6.5EPSS 0.97%Fix available

    Unhandled exception on illegal filename_disk value

    Directus is a free and open-source data platform for headless content management. The Directus process can be aborted by having an authorized user update the `filename_disk` value to a folder and accessing that file through the `/assets` endpoint. This vulnerability has been patched and release v9.15.0 contains the fix. Users are advised to upgrade. Users unable to upgrade may prevent this problem by making sure no (untrusted) non-admin users have permissions to update the `filename_disk` field on `directus_files`.

    • Update to 9.15.0
    Published Updated
  15. CVE-2022-24814

    High · CVSS 8.8EPSS 1.03%Fix available

    Cross-site Scripting in Directus

    Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.7.0, unauthorized JavaScript (JS) can be executed by inserting an iframe into the rich text html interface that links to a file uploaded HTML file that loads another uploaded JS file in its script tag. This satisfies the regular content security policy header, which in turn allows the file to run any arbitrary JS. This issue was resolved in version 9.7.0. As a workaround, disable the live embed in the what-you-see-is-what-you-get by adding `{ "media_live_embeds": false }` to the _Options Overrides_ option of the Rich Text HTML interface.

    • Update to 9.7.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →