CVE-2014-5462

OpenEMR < 4.1.2 - Authenticated SQL Injection via Multiple Parameters

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2014-5462. PoCs published by Portcullis.

AI-analyzed exploit summary This exploit demonstrates multiple authenticated SQL injection vulnerabilities in OpenEMR 4.1.2(7) and earlier. It provides HTTP request examples with injection points marked, allowing an attacker to extract sensitive data like usernames and password hashes.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Portcullis · textwebappsphp
https://www.exploit-db.com/exploits/35518

This exploit demonstrates multiple authenticated SQL injection vulnerabilities in OpenEMR 4.1.2(7) and earlier. It provides HTTP request examples with injection points marked, allowing an attacker to extract sensitive data like usernames and password hashes.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: OpenEMR 4.1.2(7) and earlier
Auth required
Prerequisites: Authenticated session in OpenEMR · Network access to the target application
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

EPSS 0.0199
EPSS Percentile 78.0%

Details

CWE
CWE-89
Status published
Products (1)
open-emr/openemr < 4.1.2
Published Dec 08, 2014
Tracked Since Feb 18, 2026