CVE-2025-34304
IPFire < v2.29 SQL Injection via OpenVPN Connection Logs
- State
- Published
- Severity
- 7.1 High
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Reserved
- Apr 15, 2025
Description
IPFire versions prior to 2.29 (Core Update 198) contain a SQL injection vulnerability that allows an authenticated attacker to manipulate the SQL query used when viewing OpenVPN connection logs via the CONNECTION_NAME parameter. When viewing a range of OpenVPN connection logs, the application issues an HTTP POST request to the Request-URI /cgi-bin/logs.cgi/ovpnclients.dat and inserts the value of the CONNECTION_NAME parameter directly into the WHERE clause without proper sanitization or parameterization. The unsanitized value can alter the executed query and be used to disclose sensitive information from the database.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Products
| Product | Versions |
|---|---|
IPFireIPFire.org |
|
References
- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-releasedvendor-advisorypatch
- https://bugzilla.ipfire.org/show_bug.cgi?id=13879issue-tracking
- https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.