Technical impact
A missing authorization check in the destroyed_drugs_report.php script allows any authenticated core user to retrieve detailed destroyed‑drug records. The flaw is a classic access control weakness (CWE‑862). Data exposed includes drug names, NDC codes, lot numbers, quantities, destruction methods, witnesses, and notes, which can compromise confidentiality of sensitive pharmacy information.
Affected Systems
OpenEMR versions prior to 8.5.0 are affected. The vulnerability exists in the core personae of the application; any user with core authentication privileges on the system can exploit it.
Risk and Exploitability
The CVSS score is 5.3 and the EPSS indicates an exploitation probability of less than 1%. The flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated as a core user, after which the attacker can submit a report refresh form with a chosen date range to retrieve the data. No escalation or network compromise is required, so the risk is primarily the unauthorized disclosure of protected drug data rather than a system takeover.