OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openemropenemr |
< 8.5.0→ 8.5.0 |
8.5.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com