Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege core account
-
DeliverySelect unrelated patient to obtain form token
-
ExploitForge chrx_ with victim's global prescription ID
-
ExecutionPOST to rx_print.php printer
-
PersistReceive victim's drug, dosage, refills
-
ImpactEnumerate IDs across patients
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated OpenEMR core account, but NOT medication or prescription permissions (patients/med or patients/rx) and NOT access to the victim patient - the advisory validated exploitation with only a patients/amendment grant. The attacker must reach interface/forms/CAMOS/rx_print.php, obtain the ordinary form CSRF token (available to any logged-in user), and supply a valid global prescription ID via a forged chrx_<id> POST parameter; the print branch loads prescriptions by ID with no patient_id predicate or ACL check. Limiting factors: exploitation is impossible for fully unauthenticated attackers (PR:L), and it depends on knowing or enumerating valid global prescription IDs (AT:P), though sequential/global IDs make enumeration straightforward. Exposure scales with the number of low-privilege accounts in a deployment; upgrading to 8.5.0 is the vendor fix. |
| Impact | This is a genuine but moderate-priority authorization flaw (CWE-639 IDOR; the advisory classifies it as CWE-284 broken access control), not a low-real-risk high-CVSS inflation case. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N, 6.0) is internally consistent with the advisory: network-reachable, low complexity, but requiring a valid authenticated core account (PR:L) and an attack requirement (AT:P) satisfied by knowing or enumerating another patient's global prescription ID. Impact is confined to confidentiality of prescription data (VC:H; VI:N/VA:N) with no integrity, availability, or scope change. No EPSS score and no KEV listing were provided, and there is no confirmed working exploit, so there is no signal of active or widespread exploitation; a detailed public reproduction does exist in the GHSA/VulnCheck advisories. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with an authenticated, confidentiality-only disclosure bug. The main divergence to weigh: AV:N plus a fully documented HTTP reproduction makes exploitation trivial for any logged-in user, so in multi-tenant/multi-squad OpenEMR deployments with many low-privilege accounts the practical insider/compromised-account risk is higher than the 6.0 score alone suggests. |
| Exploit ScenarioDerived | An authenticated OpenEMR user holding only a minor ACL grant (the advisory validated with just patients/amendment, no medication/prescription permission) selects their own or a synthetic patient, then POSTs another patient's global prescription ID to rx_print.php as a forged chrx_ checkbox parameter. The server loads that prescription by ID alone and returns the victim's drug name, strength, quantity, dosage, directions, and refill count. A public PoC reference with a full HTTP request exists in the GHSA/VulnCheck advisories; it is not verified as working exploit code, and low attack complexity means IDs can be enumerated to disclose records at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Authenticated OpenEMR users who hold no medication or prescription privileges can read other patients' full prescription records through the CAMOS print endpoint (interface/forms/CAMOS/rx_print.php) in versions before 8.5.0. The selection page builds a per-patient allowlist of prescription checkboxes, but the print branch accepts any posted chrx_<id> parameter and loads that global prescription ID directly, returning drug name, strength, quantity, dosage form, route, interval, directions and refill count for a patient the attacker has no access to; the vendor advisory validated this on v8.4.1 with an account whose only grant was patients/amendment. Exploitation requires a valid authenticated session and a known or enumerable global prescription ID, so remote unauthenticated attackers are excluded; no public exploit code was identified at time of analysis, and the vendor fix is OpenEMR 8.5.0.
RemediationAI
Vendor-released patch: upgrade to OpenEMR 8.5.0, which is the only complete fix because the print branch must both enforce a medication/prescription read permission and resolve each posted prescription with its ID plus the authorized patient ID (rejecting IDs absent from the server-side allowlist for the current patient). Until upgrading, restrict access to interface/forms/CAMOS/rx_print.php at the web server or reverse proxy for roles that do not legitimately need CAMOS printing - this blocks the disclosure path but breaks prescription printing for those users; alternatively remove the CAMOS form from the ACL grants of low-privilege core accounts, which costs them the legitimate CAMOS clinical-text workflow. Because the endpoint only requires any authenticated session and the ordinary form CSRF token, reviewing accounts with minimal grants (such as patients/amendment-only accounts) and reducing their number limits the attack surface but does not fix the missing object-level check. Patch guidance is at https://github.com/openemr/openemr/security/advisories/GHSA-gf9c-4hh8-gh49.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenEMR is a PHP electronic health record and practice-management platform whose form handlers are built on the ORDataObject persistence layer. In src/Common/ORDataObject/ORDataObject.php the populate() method resolves a record with an ID-only query (SELECT * FROM <table> WHERE id = ?), with no patient predicate, so any object constructed from an attacker-supplied primary key is loaded regardless of which patient it belongs to. The CAMOS (Complementary and Alternative Medicine) form's rx_print.php first calls Prescription::prescriptions_factory($session->get('pid')) to render only the active patient's prescriptions as checkboxes, but the print branch iterates over every POSTed key beginning with chrx_, instantiates new Prescription(substr($key, 5)) with the raw global ID and emits the clinical fields (drug, size, quantity, form, dosage, route, interval, note, refills) into the generated document. The root cause is CWE-639 authorization bypass through user-controlled key - the vendor advisory files it under the broader CWE-284 improper access control - because object identity is taken from client input instead of being validated against the session patient and a prescription ACL (patients/med or patients/rx). Sequential, globally scoped prescription IDs make enumeration of valid keys straightforward once an account exists.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable printer endpoint, low complexity, requires a logged-in low-privilege account (PR:L) with no UI; confidentiality-only prescription disclosure, so I:N/A:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenEMR before 8.5.0 contains an insecure direct object reference vulnerability in the CAMOS rx_print.php printer that allows authenticated users to read other patients' prescriptions. Attackers can submit forged chrx_ parameters with global prescription IDs to disclose drug names, dosages, directions, and refill counts without medication permissions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-125002
GHSA-rghp-2fx9-gmpj
NVD
CVE.org
EPSS
VulDB
Exploit-DB