CVE-2025-24787
Last modified
CVE-2025-24787 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Clidey | Whodb | < 0.45.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-24787?
How severe is CVE-2025-24787?
How do I fix CVE-2025-24787?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-24781Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-24782Improper Control of Filename for Include/Require Statement i…8.8
- CVE-2025-24783** UNSUPPORTED WHEN ASSIGNED ** Incorrect Usage of Seeds in …7.5
- CVE-2025-24784kubewarden-controller is a Kubernetes controller that allows…4.3
- CVE-2025-24785iTop is an web based IT Service Management tool. In version …4.3
- CVE-2025-24786WhoDB is an open source database management tool. While the …9.1
- CVE-2025-24788snowflake-connector-net is the Snowflake Connector for .NET.…5.5
- CVE-2025-24789Snowflake JDBC provides a JDBC type 4 driver that supports c…7.8
- CVE-2025-2479The Easy Custom Admin Bar plugin for WordPress is vulnerable…6.1
- CVE-2025-24790Snowflake JDBC provides a JDBC type 4 driver that supports c…5.5
- CVE-2025-24791snowflake-connector-nodejs is a NodeJS driver for Snowflake.…5.5
- CVE-2025-24792Snowflake PHP PDO Driver is a driver that uses the PHP Data …4.4
Are you affected by CVE-2025-24787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
