OpenEMR
OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php
OpenEMR before 8.5.0 contains an improper authorization vulnerability in interface/drugs/dispense_drug.php, which checks only for admin/drugs view permission instead of write permission before dispensing medication. Authenticated users with read-only drug administration access can send GET requests with drug_id, quantity, fee, and encounter parameters to create false dispensing records and decrement inventory.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by NVD · CWE-863
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
openemr openemr
- < 8.5.0
Fixed in 8.5.0
Mitigation
Upgrade openemr to 8.5.0 or later.
References
- Vendor advisory github.com/openemr/openemr/security/advisories…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.