# CVE-2025-34304: IPFire < v2.29 SQL Injection via OpenVPN Connection Logs

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-10-28T14:37:29.929Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- IPFire.org IPFire: before 2.29 (Core Update 198)
- ipfire ipfire: before 2.29; 2.29

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## 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

- CVE List: [CVE-2025-34304](https://www.cve.org/CVERecord?id=CVE-2025-34304), CVE Terms of Use, modified 2025-10-28
- NVD: [CVE-2025-34304](https://nvd.nist.gov/vuln/detail/CVE-2025-34304), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-34304 · Whole record: https://cve.day/CVE-2025-34304.json · Rebuilt by cve.day 2026-11-25T22:59:06.954Z
