Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-24787

HIGH 8.6EPSS 52%

Parameter injection in DB connection URIs leading to local file inclusion in WhoDB

Also known as GHSA-c7w4-9wv8-7x7c, GO-2025-3457

Mitigation

  • Upgrade github.com/clidey/whodb/core to 0.0.0-20250127202645-8d67b767e005 or later.

Who should check

  • Projects that depend on Go package github.com/clidey/whodb/core (< 0.0.0-20250127202645-8d67b767e005)
  • Anyone running clidey whodb < 0.45.0

Vulnerability facts

Affected
github.com/clidey/whodb/core < 0.0.0-20250127202645-8d67b767e005
Fixed in
0.0.0-20250127202645-8d67b767e005
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.77% chance of exploitation in 30 days (percentile 52, 2026-11-26)
CWE
CWE-943
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/clidey/whodb/core< 0.0.0-20250127202645-8d67b767e0050.0.0-20250127202645-8d67b767e005osv
clidey whodb< 0.45.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-24787. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-24787.md
Affected: github.com/clidey/whodb/core < 0.0.0-20250127202645-8d67b767e005
Fixed in: 0.0.0-20250127202645-8d67b767e005

Steps:
1. Search this machine and project for github.com/clidey/whodb/core (Go), clidey whodb: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-24787 being exploited?

There is no confirmed exploitation: CVE-2025-24787 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-24787?

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-24787?

github.com/clidey/whodb/core < 0.0.0-20250127202645-8d67b767e005.

Is there a fix for CVE-2025-24787?

Yes. Fixed in 0.0.0-20250127202645-8d67b767e005. Upgrade github.com/clidey/whodb/core to 0.0.0-20250127202645-8d67b767e005 or later.

How do I check if I'm affected by CVE-2025-24787?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors