Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ipfire | Ipfire | < 2.29 |
Related Weaknesses (CWE)
References
- https://bugzilla.ipfire.org/show_bug.cgi?id=13879Issue TrackingThird Party Advisory
- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-releasedRelease Notes
- https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logsThird Party Advisory
FAQ
What is CVE-2025-34304?
CVE-2025-34304 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 th...
How severe is CVE-2025-34304?
CVE-2025-34304 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-34304?
Check the references section above for vendor advisories and patch information. Affected products include: Ipfire Ipfire.