CVE-2025-24786

Published Feb 6, 2025

Last updated 2 months ago

Overview

Description
WhoDB is an open source database management tool. While the application only displays Sqlite3 databases present in the directory `/db`, there is no path traversal prevention in place. This allows an unauthenticated attacker to open any Sqlite3 database present on the host machine that the application is running on. Affected versions of WhoDB allow users to connect to Sqlite3 databases. By default, the databases must be present in `/db/` (or alternatively `./tmp/` if development mode is enabled). If no databases are present in the default directory, the UI indicates that the user is unable to open any databases. The database file is an user-controlled value. This value is used in `.Join()` with the default directory, in order to get the full path of the database file to open. No checks are performed whether the database file that is eventually opened actually resides in the default directory `/db`. This allows an attacker to use path traversal (`../../`) in order to open any Sqlite3 database present on the system. This issue has been addressed in version 0.45.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Source
security-advisories@github.com
NVD status
Analyzed
Products
whodb

Risk scores

CVSS 3.1

Type
Primary
Base score
9.1
Impact score
5.2
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Severity
CRITICAL

Weaknesses

security-advisories@github.com
CWE-22

Social media

Hype score
Not currently trending
  1. 🚨 CVE-2025-24786 - high 🚨 WhoDB < 0.45.0 - Path Traversal > WhoDB contains a path traversal caused by lack of validation when opening database fi... πŸ‘Ύ https://t.co/qEAaM4QjfU @pdnuclei #NucleiTemplates #cve

    @pdnuclei_bot

    3 Feb 2026

    137 Impressions

    0 Retweets

    0 Likes

    1 Bookmark

    0 Replies

    0 Quotes

  2. ``` Just submitted my first PR to nuclei-templates β€” wrote a detection for CVE-2025-24786, a path traversal in WhoDB that lets you read any sqlite db on the box without auth. small contribution but feels good to give back to tools i actually use. https://t.co/7f2S7r87bF ```

    @basic_beny

    1 Feb 2026

    56 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. CVE-2025-24786 (CVSS 10) & CVE-2025-24787: Critical WhoDB Vulnerabilities https://t.co/ZRRthkZHFl

    @Dinosn

    10 Feb 2025

    940 Impressions

    0 Retweets

    1 Like

    2 Bookmarks

    0 Replies

    0 Quotes

  4. πŸ—£ CVE-2025-24786 (CVSS 10) & CVE-2025-24787: Critical WhoDB Vulnerabilities https://t.co/DMpNt6YpM1

    @fridaysecurity

    10 Feb 2025

    24 Impressions

    0 Retweets

    0 Likes

    1 Bookmark

    0 Replies

    0 Quotes

  5. Vulnerabilities Report for February 7, 2025. πŸ“… One CVSS 10 vulnerability with a bug class of CWE-35 (Path Traversal) in WhoDB (CVE-2025-24786), 35 vulnerabilities with a bug class of CWE-345 (Data Authenticity Failure) or 24%, 26 vulnerabilities with a bug class of CWE-74… https

    @gothburz

    7 Feb 2025

    96 Impressions

    0 Retweets

    1 Like

    1 Bookmark

    0 Replies

    0 Quotes

  6. CVE-2025-24786 WhoDB is an open source database management tool. While the application only displays Sqlite3 databases present in the directory `/db`, there is no path traversal pre… https://t.co/hGMr5pIWsf

    @CVEnew

    6 Feb 2025

    260 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  7. [CVE-2025-24786: CRITICAL] WhoDB, an open source database tool, had a path traversal exploit allowing unauthorized access to any Sqlite3 database on the host. Update to version 0.45.0 to patch this issue.#cybersecurity,#vulnerability https://t.co/uC4SyBQsIJ https://t.co/wBxXsNDZP

    @CveFindCom

    6 Feb 2025

    41 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations