Technical impact
OpenEMR versions prior to 8.3.0 contain an insecure direct object reference that allows portal patients who have logged in to change the settings of other patients by providing an arbitrary setting_patient value. An attacker can insert or overwrite rows in the patient_settings table, enabling the suppression of notifications, alteration of consent flags, or modification of portal preferences for victims.
Affected Systems
The vulnerability affects the OpenEMR product from the openemr vendor, specifically all releases before 8.3.0 that include the portal/lib/persist.php module.
Risk and Exploitability
The CVSS score of 7.1 indicates a medium to high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers need to be authenticated as portal patients, but then can exploit the IDOR to modify other patients’ settings. The limited prerequisites make this flaw likely to be abused by anyone who can log into the portal.