CVE-2026-124444 — patient portal OnsiteDocument query API that — CWE-89
CVE-2026-124444 is a HIGH severity SQL Injection (SQLi) vulnerability (CWE-89) (CVSS 7.1/10) affecting patient portal OnsiteDocument query API that. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) with zero user interaction (UI:N), allowing unauthorized disclosure of sensitive data (C:H).
📄 Official NVD / MITRE Original Record Text
OpenEMR before 8.4.0 contains a mass assignment vulnerability in the patient portal OnsiteDocument query API that lets request parameters set bitwise criteria filters whose values are placed unquoted into the SQL WHERE clause. Authenticated patient portal users can inject SQL via parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password hashes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-124444
CVSS 7.1/10 · HIGH · 08.11.2026
CWE: CWE-89
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
SQL Injection (SQLi)
Summary: OpenEMR before 8.4.0 contains a mass assignment vulnerability in the patient portal OnsiteDocument query API that lets request parameters set bitwise criteria filters whose values are placed unquoted into the SQL WHERE clause. Authenticated patient portal users can inject SQL via parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password ha…
⚡ ATTACK CHAIN
Attack steps:
1. Identify injectable parameters (URL params, form fields, HTTP headers, cookies).
2. Basic test: ' OR '1'='1 — look for errors or behavior changes.
3. UNION-based extraction: ' UNION SELECT user(),database()--
4. Automated: sqlmap -u 'TARGET_URL' --dbs --dump --batch
5. Time-based blind: '; IF(1=1) WAITFOR DELAY '0:0:5'--
6. Post-exploitation: dump credentials, write webshell via INTO OUTFILE '/var/www/shell.php'.
🔧 Tools: sqlmap, Burp Suite (Intruder), manual
🗺️ MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1078 (Valid Accounts)
🌍 REAL WORLD IMPACT
All confidential data readable/stealable.
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Use prepared statements and parameterized queries.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]