Skip to main content
CVE-2025-34304VulnerabilityPublished

CVE-2025-34304: IPFire · SQL Injection

Affects IPFireSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
IPFire.org IPFireAffected
  • =0
Fixed in–

AI-suggested

1. Immediately upgrade IPFire installations to version 2.29 (Core Update 198) or later, where this vulnerability is addressed. 2. Restrict access to the OpenVPN connection logs interface (/cgi-bin/logs.cgi/ovpnclients.dat) to trusted administrators only, using network segmentation and firewall rules. 3. Implement multi-factor authentication (MFA) for all accounts with access to IPFire management interfaces to reduce risk from compromised credentials. 4. Monitor logs for unusual access patterns or repeated failed attempts to access the logs interface. 5. If upgrading is not immediately possible, apply web application firewall (WAF) rules to detect and block SQL injection attempts targeting the CONNECTION_NAME parameter. 6. Conduct regular security audits and penetration testing focusing on IPFire deployments to identify and remediate similar injection flaws. 7. Educate administrators on secure configuration and the importance of input validation in custom scripts or plugins interacting with IPFire. 8. Backup configuration and logs securely to enable forensic analysis in case of suspected exploitation.

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.

References

Community reviews

Loading reviews…