Technical impact
OpenEMR versions prior to 8.5.0 contain a flaw in interface/reports/ippf_statistics.php that allows an authenticated user to inject arbitrary SQL through the form_facility parameter. By supplying a crafted value, an attacker can terminate the existing string literal and append Boolean or time‑based payloads, enabling extraction of sensitive database contents such as patient information or system configuration data. The vulnerability does not lead to arbitrary code execution but can compromise confidentiality of stored data.
Affected Systems
The product affected is OpenEMR from the vendor openemr. All releases before 8.5.0 are susceptible to this problem, as the remediation was included in the 8.5.0 release. No specific sub‑versions are listed as unaffected in the data provided.
Risk and Exploitability
The CVSS score of 7.1 places the vulnerability in the Medium‑High category. An EPSS score of less than 1% indicates a low probability of widespread exploitation, and the issue is not listed in the CISA KEV catalog. Based on the description, it is inferred that realistic exploitation requires a legitimate account with report‑generation privileges, and the attacker must manually craft the exploit payload. Despite the low exploitation likelihood, the potential exposure of protected health information warrants timely remediation.