Technical impact
OpenEMR versions prior to 8.5.0 contain an insecure direct object reference flaw (CWE‑639) in the CAMOS rx_print.php printer. The vulnerability allows an authenticated user to send forged chrx_ parameters with global prescription IDs and read other patients’ prescriptions, revealing drug names, dosages, directions, and refill counts.
Affected Systems
All installations of OpenEMR before the 8.5.0 release are impacted. The flaw exists in the core application and is not restricted to specific modules or deployment configurations.
Risk and Exploitability
The CVSS score of 6 indicates a moderate severity. EPSS is reported as <1%, suggesting that exploitation is unlikely in the general threat landscape, and the flaw is not currently listed in CISA’s KEV catalog. However, the flaw requires an authenticated user with system access, so the attack vector is local within the application’s user base. Once authenticated, an attacker can leverage the indirect reference to any prescription ID they can guess or obtain, leading to privacy violations for affected patients.