SQL Injection in Ipfire
CVE-2025-34304
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Ipfire — versions 2.29
- Ipfire.org Ipfire — versions 0
Weakness classification (CWE)
References
- www.ipfire.org/blog/ipfire-2-29-core-update-198-released (vendor-advisory, Release Notes, patch)
- bugzilla.ipfire.org/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logs (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2025-34304?
- CVE-2025-34304 is a medium-severity vulnerability in Ipfire, classified under SQL Injection. CVSS score: 6.5/10. Published 2025-10-28.
- How severe is CVE-2025-34304?
- Medium severity. CVSS v3 base score is 6.5 out of 10.