OpenEMR prescription forgery in REST API authorization
openemr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openemr openemr |
|
|
Original description
OpenEMR before 8.4.0 contains an incorrect authorization vulnerability because the prescription REST API routes check the patients.med ACL instead of patients.rx and request no specific permission bit, so read-only Medical/History access passes the check. Authenticated staff users can reuse the UI-exposed APICSRFTOKEN to enumerate prescription UUIDs, forge prescriptions for arbitrary patients, and deactivate existing prescriptions tenant-wide.
From the CVE record · VulnCheck