CVE-2014-5462: OpenEMR - SQL Injection
- Cve: CVE-2014-5462
- Name: OpenEMR - SQL Injection
- Description: Multiple SQL injection vulnerabilities in OpenEMR 4.1.2 (Patch 7) and earlier allow remote authenticated users to execute arbitrary SQL commands via the (1) layout_id parameter to interface/super/edit_layout.php; (2) form_patient_id, (3) form_drug_name, or (4) form_lot_number parameter to interface/reports/prescriptions_report.php; (5) payment_id parameter to interface/billing/edit_payment.php; (6) id parameter to interface/forms_admin/forms_admin.php; (7) form_pid or (8) form_encounter parameter to interface/billing/sl_eob_search.php; (9) sortby parameter to interface/logview/logview.php; form_facility parameter to (10) procedure_stats.php, (11) pending_followup.php, or (12) pending_orders.php in interface/orders/; (13) patient, (14) encounterid, (15) formid, or (16) issue parameter to interface/patient_file/deleter.php; (17) search_term parameter to interface/patient_file/encounter/coding_popup.php; (18) text parameter to interface/patient_file/encounter/search_code.php; (19) form_addr1, (20) form_addr2, (21) form_attn, (22) form_country, (23) form_freeb_type, (24) form_partner, (25) form_name, (26) form_zip, (27) form_state, (28) form_city, or (29) form_cms_id parameter to interface/practice/ins_search.php; (30) form_pid parameter to interface/patient_file/problem_encounter.php; (31) patient, (32) form_provider, (33) form_apptstatus, or (34) form_facility parameter to interface/reports/appointments_report.php; (35) db_id parameter to interface/patient_file/summary/demographics_save.php; (36) p parameter to interface/fax/fax_dispatch_newpid.php; or (37) patient_id parameter to interface/patient_file/reminder/patient_reminders.php.
- Impact: Authenticated attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Update to the latest version of OpenEMR or apply security patches addressing SQL injection vulnerabilities.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated in the system
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
- Epss score: 0.01988
- Epss percentile: 0.81148
- Assignee: [email protected]
- Published at: 2014-12-08T16:59:00Z
- Age in days: 4369
- Modified at: 2026-06-17T00:11:36Z
- Public exploits total: 3
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2014-5462
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2014-12-08
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | <= 4.1.2 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | issues | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2014-12-08
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2295
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports