Technical impact
The vulnerability allows authenticated staff users to bypass authorization checks on the prescription REST API; because the API checks patients.med instead of patients.rx and does not enforce specific permission bits, read‑only Medical/History access grants sufficient rights to create, enumerate, or deactivate prescriptions. An attacker can therefore forge prescriptions for any patient, delete existing prescriptions, or otherwise manipulate medication data without proper authorization. This results in significant integrity and confidentiality breaches, affecting patient care and regulatory compliance.
Affected Systems
OpenEMR versions prior to 8.4.0 are affected. The issue resides in the prescription REST API routes for the OpenEMR product.
Risk and Exploitability
The CVSS score of 8.7 indicates a high severity, but the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed exploitation yet. However, the flaw is exploitable by any authenticated staff, requiring only the possession of a UI‑exposed API CSRF token, a capability that can be easily obtained within a compromised user session. The attack vector is thus an authenticated internal attack that can be leveraged for broad systemic impact across a tenant.