Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-10-28 | Updated 2025-10-28 | Assigner VulnCheck




HIGH: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

Default status
unaffected

Any version before 2.29 (Core Update 198)
affected

Credits

Alex Williams from Pellera Technologies finder

References

www.ipfire.org/blog/ipfire-2-29-core-update-198-released vendor-advisory patch

bugzilla.ipfire.org/show_bug.cgi?id=13879 issue-tracking

www.vulncheck.com/...ipfire-sqli-via-openvpn-connection-logs third-party-advisory

cve.org (CVE-2025-34304)

nvd.nist.gov (CVE-2025-34304)

Download JSON