CVE-2025-24786

CRITICAL

CVSS v3

9.1

CRITICAL

EPSS Score

33.8%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical Details

Published
2/6/2025

Frequently Asked Questions

What is 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 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.

Is CVE-2025-24786 actively exploited?

Active exploitation of CVE-2025-24786 has not been confirmed. The EPSS score is 33.8%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-24786?

CVE-2025-24786 has a CVSS v3 base score of 9.1 (CRITICAL severity).

Is CVE-2025-24786 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.