IPFire.org IPFire
IPFire < v2.29 SQL Injection via OpenVPN Connection Logs
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.29 (Core Update 198)
Fixed in 2.29 (Core Update 198)
Mitigation
Upgrade IPFire to 2.29 (Core Update 198) or later.
References
- Vendor advisory ipfire.org/blog/ipfire-2-29-core-update-198-re…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.