OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 8.5.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
OpenEMR, an open-source electronic health records application, is affected before version 8.5.0. A user with Clinician-level login access can exploit a flaw in its Syndromic Surveillance module to read and change data in the underlying database, including password hashes, potentially allowing takeover of administrator accounts.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
OpenEMR before 8.5.0 contains an authenticated SQL injection vulnerability in the Syndromic Surveillance module that allows users with Clinician-level privileges to read and modify arbitrary database contents by submitting crafted values in the form_icd_codes[] POST parameter to the syndromicsurveillance/index endpoint. Attackers can inject an unquoted numeric IN() clause and UNION DISTINCT SELECT statement using hex-encoded literals to abuse MySQL extractvalue() for error-based exfiltration of bcrypt password hashes and execute stacked queries that reset passwords, resulting in full administrative account takeover.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- openemr openemr
fixed in 8.5.0