CVE-2025-34304
JSON

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 packageVersionsReported by
IPFire.org IPFirebefore 2.29 (Core Update 198)CVE List
ipfire ipfirebefore 2.29, 2.29NVD

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-89

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

Sources

SourceRecordLicence
CVE ListCVE-2025-34304 changed 2025-10-28CVE Terms of Use
NVDCVE-2025-34304 changed 2026-10-19Public domain