CVE-2025-34304
CVE-2025-34304 is a medium-severity vulnerability in Ipfire with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v4: 7.1
- EPSS exploit prediction: 0% (31st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-36510
- Weakness: CWE-89
- Affected product: Ipfire
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-34304?
- 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.
- How severe is CVE-2025-34304?
- CVE-2025-34304 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-34304 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (31st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-34304?
- CVE-2025-34304 primarily affects Ipfire. In total, 16 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-34304?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-34304 have an EU (EUVD) identifier?
- Yes. CVE-2025-34304 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-36510.
- When was CVE-2025-34304 published?
- CVE-2025-34304 was published on 2025-10-28 and last updated on 2026-06-17.
References
- https://bugzilla.ipfire.org/show_bug.cgi?id=13879
- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released
- https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logs
Affected products (16)
- cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update183:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update184:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update185:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update186:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update187:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update188:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update189:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update190:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update191:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update192:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update193:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update194:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update195:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update196:*:*:*:*:*:*
- cpe:2.3:a:ipfire:ipfire:2.29:core_update197:*:*:*:*:*:*
More vulnerabilities in Ipfire
- CVE-2025-34312 — High (CVSS 8.8): IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated…
- CVE-2025-34311 — High (CVSS 8.8): IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated…
- CVE-2021-33393 — High (CVSS 8.8): lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account.…
- CVE-2018-16232 — High (CVSS 8.8): An authenticated command injection vulnerability exists in IPFire Firewall before 2.21 Core Update 124 in backup.cgi.…
- CVE-2017-9757 — High (CVSS 8.8): IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by…
- CVE-2025-50974 — Medium (CVSS 6.5): The Calamaris log exporter CGI (/cgi-bin/logs.cgi/calamaris.dat) in IPFire 2.29 does not properly sanitize…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…