{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-34304","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2025-04-15T19:15:22.582Z","datePublished":"2025-10-28T14:37:29.929Z","dateUpdated":"2025-10-28T15:18:27.982Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["/cgi-bin/logs.cgi/ovpnclients.dat"],"product":"IPFire","vendor":"IPFire.org","versions":[{"lessThan":"2.29 (Core Update 198)","status":"affected","version":"0","versionType":"custom"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ipfire.org:ipfire:*:*:*:*:*:*:*:*","versionEndExcluding":"2.29_(core_update_198)","versionStartIncluding":"0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Alex Williams from Pellera Technologies"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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 <code>CONNECTION_NAME</code> parameter. When viewing a range of OpenVPN connection logs, the application issues an HTTP <code>POST</code> request to the Request-URI <code>/cgi-bin/logs.cgi/ovpnclients.dat</code> and inserts the value of the <code>CONNECTION_NAME</code> parameter directly into the <code>WHERE</code> clause&nbsp;without proper sanitization or parameterization. The unsanitized value can alter the executed query and be used to disclose sensitive information from the database."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-66","descriptions":[{"lang":"en","value":"CAPEC-66 SQL Injection"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2025-10-28T14:37:29.929Z"},"references":[{"tags":["vendor-advisory","patch"],"url":"https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released"},{"tags":["issue-tracking"],"url":"https://bugzilla.ipfire.org/show_bug.cgi?id=13879"},{"tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/ipfire-sqli-via-openvpn-connection-logs"}],"source":{"discovery":"UNKNOWN"},"title":"IPFire < v2.29 SQL Injection via OpenVPN Connection Logs","x_generator":{"engine":"Vulnogram 0.4.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-28T15:17:14.988671Z","id":"CVE-2025-34304","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-28T15:18:27.982Z"}}]}}