Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryObtain valid session CSRF token
-
ExploitPOST search_persons with name prefix
-
ExecutionEndpoint skips AclMain check
-
PersistReceive patient demographics in JSON
-
ImpactIterate A-Z to bulk-harvest PHI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated OpenEMR session of any role, explicitly including low-privilege non-clinical roles such as the Front Office ACL group (confirmed by the live PoC), plus a valid CSRF token which the endpoint does check and which is obtainable from the attacker's own session. No special or non-default configuration is needed: the missing AclMain check affects default installations of OpenEMR prior to 8.3.0 via the search_persons action in library/ajax/person_search_ajax.php. The primary limiting factor is that valid credentials are mandatory (no anonymous access), so the realistic attacker is a malicious insider or holder of a compromised low-trust account rather than an unauthenticated remote party; full remediation requires updating to 8.3.0, which adds the authorization check. |
| Impact | This is a genuine but moderate-priority data-exposure issue, not a high-CVSS/low-real-risk artifact. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N = 6.5) is internally consistent with the evidence: network-reachable AJAX endpoint, low complexity, requires a low-privilege authenticated account (PR:L), and yields only a confidentiality loss (C:H; I:N/A:N - no write or availability impact). The GHSA advisory confirms the mechanism precisely - library/ajax/person_search_ajax.php validates the CSRF token but omits an AclMain authorization check (CWE-862) - and the vulnerability was reproduced live by the reporter using a non-clinical Front Office account, so the PR:L assumption is validated rather than inferred. No EPSS score was supplied and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; the vuln.today decision label is 'this_month', indicating a prioritized-but-not-emergency posture consistent with these signals. The main driver of real-world risk is not severity mechanics but data sensitivity: bulk harvestable patient PHI/PII (name, DOB, gender, phone, email) in a regulated healthcare context, which carries HIPAA/breach-notification and phishing/identity-theft consequences beyond what C:H alone conveys. The chief limiter is the authentication requirement - an attacker needs valid credentials to any role, so the realistic threat is a malicious or compromised insider/low-trust account rather than an anonymous internet attacker. |
| Exploit ScenarioDerived | A malicious or compromised low-privilege user (e.g., a non-clinical Front Office account) obtains a valid CSRF token from their authenticated session and issues repeated POST requests to person_search_ajax.php with the search_persons action, iterating name prefixes A-Z. Because no AclMain role check is enforced, each response returns patient first/last name, date of birth, gender, phone, and email as JSON, letting the attacker enumerate the full patient demographic database for downstream phishing or identity theft. A proof-of-concept is documented in the GHSA advisory and was reproduced live by the reporter. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Missing authorization in OpenEMR's person-search AJAX endpoint (library/ajax/person_search_ajax.php) lets any authenticated user - including low-privilege, non-clinical accounts such as the Front Office ACL group - harvest patient first and last names, dates of birth, gender, phone numbers, and email addresses in bulk from the person and patient_data tables. The handler verifies a CSRF token but never performs an AclMain check, so iterating name prefixes returns JSON demographic records to accounts that should not have patient-record access; every release prior to 8.3.0 is affected (CWE-862, CVSS 6.5 with a PR:L vector, high confidentiality impact only). The vendor advisory documents a reproduced proof-of-concept using an A-to-Z last-name sweep against a Front Office account, but no active exploitation is reported in the supplied sources and valid credentials remain a hard prerequisite, making the realistic attacker a malicious insider or holder of a compromised low-trust account.
RemediationAI
Vendor-released patch: upgrade to OpenEMR 8.3.0 (release tag v8_3_0, https://github.com/openemr/openemr/releases/tag/v8_3_0), which the advisory (https://github.com/openemr/openemr/security/advisories/GHSA-xhfm-5pwg-3cxv) names as the fixed version; the change is carried in commit 7973cab3fe3f2fd2374ed71c02605e3c93491c36 via PR https://github.com/openemr/openemr/pull/13200 and adds AclMain::aclCheckCore authorization gates across the affected AJAX and download handlers, including the person-search path. If the upgrade cannot be completed promptly, the advisory's own guidance points to three concrete controls: add an AclMain::aclCheckCore('patients', 'demo', ...) check ahead of the search (requires code changes and testing), restrict the returned fields to only those the calling feature actually needs, and apply a result-count cap plus rate limiting on the endpoint - the latter two reduce bulk-harvest volume but do not eliminate the missing-ACL exposure and may trim legitimate search results. At the infrastructure layer, denying web access to /library/ajax/person_search_ajax.php for non-clinical roles at the reverse proxy or web server blocks the enumeration vector, with the trade-off that front-desk and scheduling workflows relying on person search will break for those users. Detection can supplement these controls by alerting on repeated search_persons POSTs with single-character name prefixes from the same session or account, and by reviewing Front Office and other non-clinical accounts for unexpected search volume.
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 records and practice management application, and the affected code is the core AJAX router library/ajax/person_search_ajax.php. The handler first calls CsrfUtils::verifyCsrfToken($csrfToken, session: $session) and then dispatches the search_persons action to handleSearchPersons($jsonInput), which accepts first_name, last_name, birth_date, and phone parameters and passes them to searchPersonTable() and searchPatientDataTable(); the resulting persons[] array returns first_name, last_name, birth_date, gender, phone, and email with no role gate. The root cause is CWE-862 (Missing Authorization): the authorization decision itself is absent, so the CSRF token - which only proves the request originated from the victim's own authenticated session and is freely obtainable by the attacker from that session - provides no protection against a legitimate but low-privileged user. Because the endpoint accepts partial name fields, a user can iterate single-letter prefixes and paginate through the patient index, turning a single search form into a bulk PII extraction primitive; the attacker's own valid session supplies the token, so no cross-site technique is needed. The fix in the 8.3.0 branch (commit 7973cab3fe3f2fd2374ed71c02605e3c93491c36, PR 13200) is part of a broader authorization sweep that adds AclMain::aclCheckCore gates to related endpoints - 'patients','med' on the QRDA export/download scripts, 'patients','notes' and 'patients','appt' on interface/main/messages/save.php, and 'admin','users' on the DORN compendium installer - while the advisory recommends the person-search handler gain an AclMain::aclCheckCore('patients', 'demo', ...) check plus field minimisation and result caps. The vulnerability is server-side and configuration-independent: no optional module, non-default setting, or special deployment is required, and the trigger is a routine authenticated POST to the AJAX endpoint.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network AJAX endpoint (AV:N, AC:L) requiring a low-privilege authenticated account (PR:L), no user interaction; bulk patient PHI disclosure gives C:H with no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, the search_persons action in library/ajax/person_search_ajax.php validates CSRF but does not perform an AclMain authorization check before searching the person and patient_data tables. A low-privilege authenticated user can iterate name prefixes and receive patient first and last names, dates of birth, gender, phone numbers, and email addresses in JSON responses. This issue is fixed in version 8.3.0.
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
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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-117775
NVD
CVE.org
EPSS
GitHub
Exploit-DB