Upstream information

CVE-2025-24787 at MITRE

Description

WhoDB is an open source database management tool. In affected versions the application is vulnerable to parameter injection in database connection strings, which allows an attacker to read local files on the machine the application is running on. The application uses string concatenation to build database connection URIs which are then passed to corresponding libraries responsible for setting up the database connections. This string concatenation is done unsafely and without escaping or encoding the user input. This allows an user, in many cases, to inject arbitrary parameters into the URI string. These parameters can be potentially dangerous depending on the libraries used. One of these dangerous parameters is `allowAllFiles` in the library `github.com/go-sql-driver/mysql`. Should this be set to `true`, the library enables running the `LOAD DATA LOCAL INFILE` query on any file on the host machine (in this case, the machine that WhoDB is running on). By injecting `&allowAllFiles=true` into the connection URI and connecting to any MySQL server (such as an attacker-controlled one), the attacker is able to read local files. 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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  CNA (GitHub)
Base Score 8.6
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Changed
Confidentiality Impact High
Integrity Impact None
Availability Impact None
CVSSv3 Version 3.1
No SUSE Bugzilla entries cross referenced.

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Package Hub 15 SP6
  • govulncheck-vulndb >= 0.0.20250207T224745-150000.1.32.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-429
openSUSE Leap 15.6
  • govulncheck-vulndb >= 0.0.20250207T224745-150000.1.32.1
Patchnames:
openSUSE-SLE-15.6-2025-429
openSUSE Tumbleweed
  • govulncheck-vulndb >= 0.0.20250207T224745-1.1
Patchnames:
openSUSE-Tumbleweed-2025-14754


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP5 govulncheck-vulndb Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 govulncheck-vulndb Released
openSUSE Leap 15.6 govulncheck-vulndb Released
Products past their end of life and not receiving proactive updates anymore.
openSUSE Leap 15.5 govulncheck-vulndb Affected


SUSE Timeline for this CVE

CVE page created: Thu Feb 6 22:01:10 2025
CVE page last modified: Tue Feb 11 20:09:13 2025