PT-2025-5856 · Whodb+1 · Whodb+1

Nnsee

·

Published

2025-02-06

·

Updated

2026-02-01

·

CVE-2025-24786

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions WhoDB versions prior to 0.45.0
Description The issue allows an unauthenticated attacker to open any Sqlite3 database present on the host machine that the application is running on, due to the lack of path traversal prevention. The database file is a user-controlled value used in .Join() with the default directory to get the full path of the database file to open. An attacker can use path traversal (../../) to open any Sqlite3 database present on the system.
Recommendations For WhoDB versions prior to 0.45.0, update to version 0.45.0 to patch this issue. As a temporary workaround, consider restricting access to the database files to minimize the risk of exploitation. Avoid using user-controlled input for the database file path until the issue is resolved. Before attempting to open the database, resolve and normalize the path to the database and check whether it is in the default directory. If not, present the user with an error.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2025-02456
CVE-2025-24786
GHSA-9R4C-JWX3-3J76
GO-2025-3456
OPENSUSE-SU-2025:14754-1
OPENSUSE-SU-2025_0429-1
SUSE-SU-2025:0429-1

Affected Products

Suse
Whodb