Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHijack victim's authenticated OpenEMR session
-
DeliveryLoad MFA page to read CSRF token
-
ExploitPOST to mfa_registrations.php or mfa_u2f.php without password
-
ExecutionDelete all factors or register attacker U2F key
-
ImpactBypass MFA at later logins with password
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already control the victim's fully authenticated OpenEMR session - via a stolen OpenEMR= session cookie, a script executing in the OpenEMR web origin, or an unattended logged-in workstation - and to read the page's CSRF token from that session; the account password is never needed for the factor-deletion or U2F-registration actions. The two handlers (interface/usergroup/mfa_registrations.php and interface/usergroup/mfa_u2f.php) accept the change with only the session cookie and CSRF token, unlike the sibling TOTP registration which demands password re-entry. Limiting factors that reduce real-world risk: the attacker cannot start the attack without an existing authenticated session (no standalone remote entry point), cross-site request forgery alone is insufficient because a valid CSRF token is enforced, and actually logging in later still requires the account password (the U2F variant) - the flaw weakens or hands over the second factor but does not by itself disclose the password or affect other accounts. Works against any staff role, including non-admin clinicians, in default configurations up to and including 8.4.1. |
| Impact | This is a genuine but conditional, second-order risk rather than a drop-everything emergency. The vulnerability (CWE-306, missing step-up re-authentication on MFA factor deletion in mfa_registrations.php and U2F key registration in mfa_u2f.php) is only reachable by an attacker who ALREADY holds the victim's fully authenticated OpenEMR session; it is not an initial-access flaw. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the advisory's own CVSS 3.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, 4.3 Medium) are internally consistent: network reachable, low complexity, and privileges required (PR:L) because the attacker must control a logged-in session. Impact is limited to integrity of the account's MFA posture (VI:L / I:L) - no confidentiality or availability impact, and the TOTP secret is not disclosed. The vuln.today decision label is this_month, consistent with a medium-severity, post-compromise MFA-bypass issue rather than act_now/emergency. KEV status is NO (no confirmed active exploitation) and no EPSS score was provided in the input, so widespread opportunistic exploitation cannot be quantified from the data; absence of EPSS is a data gap, not evidence of low risk. The key amplifier is that the GHSA advisory publishes a detailed, reproduced proof-of-concept with full HTTP request/response traces, so the technique is fully documented. Net: prioritize for patching within the normal cycle, with elevated attention for deployments where session theft or XSS in the OpenEMR origin is plausible (e.g., shared clinical workstations). |
| Exploit ScenarioDerived | An attacker who has stolen a clinician's OpenEMR session cookie (or runs a script in the OpenEMR origin, or sits at an unattended logged-in workstation) loads the MFA management page to read the CSRF token, then POSTs to mfa_registrations.php to delete all of the victim's TOTP/U2F factors - or to mfa_u2f.php to register an attacker-controlled U2F key - without ever supplying the account password. At later logins the account is then protected by the password alone, or passes MFA with the attacker's key, defeating the second factor; the advisory includes a working PoC with captured HTTP traces demonstrating both outcomes. Per CVSS this is network-reachable with low complexity but requires the attacker to already control an authenticated session (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Missing step-up re-authentication in OpenEMR's MFA management pages allows an attacker who already controls a victim's fully authenticated session to delete every registered TOTP and U2F factor, or to enroll a U2F key the attacker holds, supplying only the session cookie and the CSRF token read from that same session. The affected range is 5.0.2 through 8.4.1 (all releases shipping the vulnerable handlers, including the current 8.4.1 image and master), with a vendor fix listed as 8.5.0. It works against any staff role, not just administrators - the published reproduction used a non-admin clinician - and the deletion is silent, so the next password-only login satisfies authentication, while an attacker-enrolled U2F key lets the attacker pass the MFA challenge even while the victim's own TOTP key remains registered. The flaw is conditional and second-order: it hands over or removes the second factor but does not disclose the password, does not cross account boundaries, and cannot be triggered by CSRF alone; there is no CISA KEV listing and no confirmed in-the-wild exploitation, though the vendor advisory publishes a detailed proof-of-concept walkthrough.
RemediationAI
Upgrade OpenEMR to 8.5.0, the fixed version listed by the vendor and by the EUVD package data (affected range 5.0.2 to <8.5.0), following the GHSA advisory at https://github.com/openemr/openemr/security/advisories/GHSA-rcrp-xxch-gxfh; note that the patch commit e0dee295497bba763151913bde563a826c739cd7 as captured consists of Docker image digest updates for the development and production compose files, so confirm the release artifact you deploy actually contains the re-authentication check in mfa_registrations.php and mfa_u2f.php rather than only a refreshed image tag. Because exploitation requires an existing authenticated session, the highest-value interim controls are session-side: shorten OpenEMR session idle and absolute lifetimes and force re-login for staff workstations, accepting the usability cost of more frequent logins; and treat any unattended logged-in workstation as a compromised session, since it is a stated attack vector. Where a session is suspected of hijacking, rotate the user's password and re-enroll their TOTP factor, because deleting a factor or adding a U2F key requires no notification to the user. Monitor the login_mfa_registrations table and the OpenEMR audit log for factor deletions and U2F insertions that were not preceded by a TOTP-style password confirmation, accepting that this is detective only and depends on log retention. Blocking or restricting access to interface/usergroup/mfa_registrations.php and interface/usergroup/mfa_u2f.php at the web server would remove the attack path but also prevents legitimate self-service MFA enrollment and factor removal, so it is only viable as a short-term measure on deployments where MFA enrollment is centrally managed.
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 application; the affected surface is its self-service MFA management UI under interface/usergroup/. The root cause class is CWE-306 (Missing Authentication for Critical Function), realized here as an absent re-authentication step rather than an unauthenticated endpoint: the application's own design pattern requires password re-entry for credential changes - mfa_totp.php prompts for the login password and validates it with AuthUtils::confirmPassword() before a TOTP secret is shown or created, and user_info_ajax.php requires the current password to change the account password. The two sibling handlers break that pattern. mfa_registrations.php validates the CSRF token and then immediately deletes the named TOTP or U2F registration belonging to the current user; mfa_u2f.php's reg1 step never asks for a password and reg2 only checks the CSRF token, verifies the U2F registration response and stores the key. On the login side, main_screen.php enforces an MFA challenge only when at least one row exists in login_mfa_registrations for that user, and accepts whichever single branch the client submits (TOTP code or U2F assertion), which is why deleting every row downgrades the account to password-only and why an attacker-added key passes alongside a still-valid victim key. The CSRF token is not a substitute for re-authentication because an attacker holding the session can simply load the page and read the token from the DOM. CPE cpe:2.3:a:openemr:openemr:* denotes that all releases below the fixed version are in scope; the project's guidance cites OWASP ASVS 4.0.3 V3.7.1, which calls for re-authentication or secondary verification before sensitive account changes.
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:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
PR:L because the attacker must control an authenticated session; AC:L as no special timing is described; I:L for MFA-posture change only, with C:N/A:N since no data is read and no secret disclosed.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OpenEMR 5.0.2 before 8.5.0 contains a missing authentication vulnerability in mfa_registrations.php and mfa_u2f.php that allows session hijackers to delete MFA factors or register U2F keys without password re-entry. Attackers holding a victim's authenticated session can remove all second factors or add their own U2F key, bypassing MFA at later logins with the password.
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-125017
GHSA-rfg2-wjmm-ph3x
NVD
CVE.org
EPSS
Exploit-DB