Technical impact
OpenEMR before version 8.5.0 has an authorization flaw in interface/drugs/dispense_drug.php that checks only for the admin/drugs view permission instead of the required write permission before processing a medication dispense. Authenticated users who possess only read‑only drug administration rights can supply drug_id, quantity, fee, and encounter parameters in a GET request and cause the system to record a dispensing event and reduce the inventory count. The result is the creation of false dispensing records and an incorrect inventory balance.
Affected Systems
All OpenEMR installations running a version earlier than 8.5.0 and using the drug administration module are affected. The vulnerability resides in the dispense_drug.php interface and applies to every instance where the module is enabled. Administrators should verify whether their deployment includes this component.
Risk and Exploitability
The CVSS score of 6.0 indicates moderate severity, and the EPSS score of less than 1% shows a very low expected exploitation probability at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session with read‑only drug administration permission; the attacker can then issue crafted GET requests to the affected endpoint to create dispensing records without proper authorization.