7.1high
IPFire < v2.29 SQL Injection via OpenVPN Connection Logs
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| IPFire.org IPFire | before 2.29 (Core Update 198) | CVE List |
| ipfire ipfire | before 2.29, 2.29 | NVD |
All scores
| VulnCheck | 7.1high CVSS:4.0 | 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 |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones de IPFire anteriores a la 2.29 (Core Update 198) contienen una vulnerabilidad de inyección SQL que permite a un atacante autenticado manipular la consulta SQL utilizada al ver los registros de conexión de OpenVPN a través del parámetro CONNECTION_NAME. Al ver un rango de registros de conexión de OpenVPN, la aplicación emite una solicitud HTTP POST a la Request-URI /cgi-bin/logs.cgi/ovpnclients.dat e inserta el valor del parámetro CONNECTION_NAME directamente en la cláusula WHERE sin una sanitización o parametrización adecuadas. El valor no sanitizado puede alterar la consulta ejecutada y ser utilizado para divulgar información sensible de la base de datos.
References
| https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released | patch, release-notes, vendor-advisory | |
| https://bugzilla.ipfire.org/show_bug.cgi?id=13879 | issue-tracking, third-party-advisory | |
| https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logs | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34304 changed 2025-10-28 | CVE Terms of Use |
| NVD | CVE-2025-34304 changed 2026-10-19 | Public domain |