OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the Ensora eRx integration. This flaw allows authenticated staff members who lack patients/rx permissions to access sensitive prescription data by directly requesting the eRx.php endpoint. Exploitation can expose patient demographic, medication, and allergy information and may trigger changes in eRx synchronization states.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the destroyed_drugs_report.php component. This flaw allows any authenticated core user to access destroyed drug records without proper access control checks. The vulnerability arises because the report lacks the necessary admin/drugs or inventory/reporting ACL verification. Exploiting this, an attacker can submit a report refresh form with a chosen date range to retrieve sensitive information including drug names, NDC codes, lot numbers, quantities, destruction methods, witnesses, and notes.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the trusted-messages-ajax.php component. This flaw allows any authenticated core user to send Direct messages without requiring the patients/notes permission. Attackers with zero-ACL accounts can exploit this to send messages impersonating the clinic using the clinic's phiMail credentials, enabling fraudulent clinical communications.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in several PHP scripts that allows authenticated low-privileged Front Office users to bypass access control checks. This flaw enables these users to reuse their session CSRF token to add or delete immunizations, write encounter billing codes, and invoke the billing processor without proper authorization.
OpenEMR versions before 8.5.0 do not implement rate limiting or lockout mechanisms on Time-based One-Time Password (TOTP) submissions. This allows attackers who have obtained a valid password to brute-force the 6-digit MFA code by repeatedly submitting POST requests. The vulnerability affects the main_screen.php and OAuth2 authorization flows, enabling bypass of two-factor authentication.
OpenEMR versions prior to 8.5.0 have an authorization bypass vulnerability in the portal/lib/download_template.php component. This flaw allows any authenticated core user to access and render documents for arbitrary patients by manipulating the isModule parameter. Exploitation can lead to unauthorized disclosure of sensitive patient information including names, birth dates, chart IDs, addresses, allergies, medications, and problem lists, bypassing access control lists and squad restrictions.
OpenEMR versions prior to 8.5.0 have an insecure direct object reference (IDOR) vulnerability in the CAMOS rx_print.php printer component. This flaw allows authenticated users to access prescription information of other patients by submitting manipulated parameters. The exposed data includes drug names, dosages, directions, and refill counts, even if the user lacks medication permissions.
OpenEMR versions prior to 8.5.0 have an improper authorization vulnerability in the dispense_drug.php interface. The vulnerability arises because the system checks only for admin/drugs view permission instead of requiring write permission before allowing medication dispensing. This flaw allows authenticated users with read-only drug administration access to create false dispensing records and decrement inventory by sending crafted GET requests.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the ccdaservice/ccda_gateway.php component. This flaw allows any authenticated user, even those without the patients/pat_rep permission, to request and retrieve a patient's C-CDA clinical summary, which includes sensitive medical information such as diagnoses, medications, laboratory results, and identifiers.
OpenEMR versions prior to 8.5.0 have an improper authorization vulnerability in the order_manifest.php interface. This flaw allows users with only patients/med view permissions to access squad-restricted patient data and manipulate flags that suppress lab procedures without proper authorization or CSRF protection.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the dynamic_finder_ajax.php component. This flaw allows authenticated users who lack the patients/demo permission to query patient demographic data. Exploitation can lead to unauthorized enumeration of sensitive patient information including names, dates of birth, contact details, and Social Security numbers.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the procedure order interface that allows authenticated users without proper patient or lab permissions to read and modify other patients' procedure orders. This flaw enables attackers to disclose clinical history by requesting a global order ID or to falsify diagnoses, instructions, and order status by manipulating the target patient in their session.
OpenEMR versions prior to 8.5.0 have an improper authorization vulnerability in the patient_data.php file. This flaw allows users with read-only patient or medical user roles to modify clinical-rule records by submitting a global form_entryID. As a result, attackers can overwrite fields such as completion date, state, and result, including records of patients outside their assigned squad.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the create_portallogin.php script. This flaw allows low-privilege authenticated users to replace patient portal credentials without proper access control checks. Exploitation enables attackers to take over patient portal accounts, access protected health information (PHI), and lock out legitimate patients.
OpenEMR versions prior to 8.5.0 contain a stored SQL injection vulnerability in the History layout field identifiers. This flaw allows users with admin/super and patients/med write access to inject SQL commands via edit_layout.php and history_save.php, potentially executing SQL functions like SLEEP. The vulnerability can cause denial of service by tying up database workers and may allow unauthorized data access beyond user privileges.
OpenEMR versions from 5.0.2 up to but not including 8.5.0 contain a missing authentication vulnerability in the files mfa_registrations.php and mfa_u2f.php. This flaw allows an attacker who has access to a victim's authenticated session to delete multi-factor authentication (MFA) factors or register new U2F keys without requiring the victim's password again. As a result, the attacker can bypass MFA protections on subsequent logins by removing or adding MFA factors.
OpenEMR versions prior to 8.5.0 have an improper authorization vulnerability in the interface/orders/list_reports.php component. This flaw allows users with read-only access to transmit laboratory orders by bypassing write permission checks. Authenticated attackers can exploit this by submitting arbitrary procedure order IDs to send HL7 orders containing sensitive patient information such as SSNs, insurance details, and diagnoses to laboratories, and mark these orders as transmitted.
OpenEMR versions prior to 8.5.0 contain a remote code execution vulnerability that allows authenticated billing users to upload malicious PHP code via a malformed ERA file. This vulnerability can be exploited by attackers who have database write access, such as through SQL injection, to execute arbitrary PHP code as the web server user.
OpenEMR versions prior to 8.5.0 have a missing authorization vulnerability in the file library/ajax/lists_touch.php. This flaw allows authenticated users with restricted privileges to mark another patient's clinical lists as reviewed by submitting arbitrary patient_id and type values. Such unauthorized modifications can falsely record 'None known' allergy, medication, or problem lists, potentially misleading clinicians and affecting quality-measure calculations.
OpenEMR versions prior to 8.5.0 have a denial of service vulnerability in four ZIP upload paths. Authenticated billing or Carecoordination users can upload specially crafted highly compressed ZIP archives that cause excessive memory consumption by reading uncompressed entries without size or compression ratio checks. This can exhaust PHP memory and worker pools, rendering the OpenEMR service unavailable.