Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture leaked service_auth token
-
ExploitReplay token or brute-force 6-digit PIN unthrottled
-
ExecutionEstablish full patient-portal session
-
ImpactRead PHI (SSN, DOB, labs, prescriptions)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | Exploitation requires the attacker to already hold a valid captured service_auth token (a 32-char alphanumeric value passed as a URL query parameter); realistic capture vectors named in the advisory are email interception, Referer-header leakage when a patient follows an external link from the portal, web-server access logs, shared-machine browser history, or HTTP MitM. No OpenEMR user account or prior authentication is needed (vector PR:N), and no victim user interaction at exploitation time. The token-replay variant (V1) works against default behavior because enforce_onetime_use and max_access_count are never read and tokens are never revoked, giving replay for the full token lifetime (up to 14 days in the FaxSMS invoice flow). The PIN brute-force variant (V2) additionally requires the invoice/PIN flow where enforce_auth_pin=true but succeeds because there is no rate limit, lockout, or backoff; the loose-comparison variant (V3) only helps for leading-zero PINs and still needs the PIN's numeric value. The primary LIMIT on exploitation is the token-capture prerequisite - this is not exploitable against an arbitrary unauthenticated visitor with no leaked token. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated paper risk. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) and the vuln.today Decision label 'act_now' both point to network-reachable, low-complexity abuse, and a vendor patch (8.4.0) is already available. The GHSA advisory confirms the mechanism and ships working reproduction (unit harnesses with 45/45 and 42/42 assertions plus end-to-end HTTP against a stock instance that returned live PHI), so exploitability is demonstrated rather than theoretical. The one signal that tempers raw CVSS is that exploitation is NOT pure remote-unauth against a login page: the attacker must first hold a captured valid service_auth token, which the vector folds into AC:L/PR:N but which is a real-world precondition (token leakage via Referer header, web-server logs, email interception, shared-machine history, or MitM). Two signals are missing: no EPSS probability is supplied and there is no CISA KEV listing, so widespread active exploitation is not established - treat this as a patch-now issue driven by the act_now label, confirmed PoC, and PHI exposure, not as evidence of mass in-the-wild attacks. One data conflict to verify: the supplied CVSS 4.0 vector sets VI:H and VA:H, but the advisory's own per-variant scoring treats impact as confidentiality-dominant with little to no integrity and no availability impact (V2: C:H/I:H/A:N; V1: C:H/I:L/A:N) - the VA:H in the input appears overstated. |
| Exploit ScenarioDerived | An attacker obtains a patient's service_auth token leaked through a portal URL (web-server access logs, Referer-header leakage, email interception, or a shared-machine browser history) and replays it for its full lifetime - up to 14 days in the FaxSMS invoice flow where enforce_onetime_use=true is set but ignored - repeatedly POSTing to /portal/index.php to open fresh patient-portal sessions. Where a 6-digit PIN is required, the absence of any rate limit or lockout lets them exhaust the reduced P(10,6)=151,200 PIN space within the token window (hours, not the 14-day limit), and each success exposes the patient's SSN, DOB, address, medications, lab results, documents, and prescriptions. A detailed public PoC with reproduction output is included in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Token replay and PIN brute force in OpenEMR 7.0.1 before 8.4.0 let an attacker who captures a valid service_auth portal token reopen patient-portal sessions and read PHI, and PIN-protected invoice flows can be brute-forced because attempts are not throttled or locked out. The token-capture prerequisite is the main constraint, so this is not exploitable against an arbitrary visitor without a leaked token, but it remains a genuine high-priority issue; public PoC and reproduction details are in the advisory, no CISA KEV entry is present, and the vendor fixed version is 8.4.0.
RemediationAI
Vendor-released patch: 8.4.0. Upgrade OpenEMR to 8.4.0 or later, the fixed version identified in the vendor advisory at https://github.com/openemr/openemr/security/advisories/GHSA-xg3m-9pfq-c8r6; the VulnCheck advisory is at https://www.vulncheck.com/advisories/openemr-7.0.1-before-8.4.0-onetimeauth-token-replay-and-pin-brute-force. The supplied data does not document a configuration-only workaround, and because enforce_onetime_use and max_access_count are ignored in code and the PIN path has no lockout, upgrading is the complete fix.
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's patient-portal one-time login uses src/Common/Auth/OneTimeAuth.php and the onetime_auth table to issue 32-character service_auth tokens. The advisory shows createPortalOneTime stores enforce_onetime_use and max_access_count in onetime_actions, but decodePortalOneTime and processOnetime never read those flags, updateOnetime only increments access_count, and no DELETE or revocation/status path exists, so a captured token remains replayable for its lifetime, up to P14D in the FaxSMS invoice flow. The same code does consume enforce_auth_pin, but its six-digit PIN check lacks rate limiting, lockout, backoff, or IP throttling; the PIN generator produces six distinct digits, reducing the space to P(10,6)=151,200, and processOnetime uses loose != comparison in PHP 8, so numeric-string type juggling accepts leading-zero-stripped, scientific-notation, decimal, and zero-padded equivalents. This maps to CWE-307 (excessive authentication attempts), with CWE-613 (insufficient session expiration) on the replay variants; the assessed CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, and PR:N means no OpenEMR account is needed, though possession of a captured token is required.
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:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable replay/brute-force with no account needed once a token is captured (PR:N, AC:L); impact is PHI disclosure (C:H) with limited integrity via portal actions and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR from 7.0.1 before 8.4.0 contains a flaw in src/Common/Auth/OneTimeAuth.php that ignores the enforce_onetime_use and max_access_count flags, never revokes consumed service_auth tokens, and checks login_pin without rate limiting or strict comparison. Attackers holding a captured token can replay it or brute-force the PIN to open patient-portal sessions exposing PHI.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-307 in the PIN-check path, with CWE-613 on token-replay variants.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR versions prior to 8.4.0 contain critical authentication flaws that allow captured session tokens to be replayed and PIN-protected invoice flows to be brute-forced, potentially exposing protected health information. The patch is available, so this is a remediable risk, but any healthcare organization running vulnerable OpenEMR should prioritize immediate upgrade to prevent unauthorized access to patient data and regulatory exposure.
Apply vendor patch.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-119555
GHSA-9cwc-jcxx-r43v
NVD
CVE.org
EPSS
Exploit-DB