CVE-2026-39931
Beschrijving NL
OpenEMR tot en met 8.2.0 bevat een geverifieerde kwetsbaarheid voor SQL-injectie in de importfunctie voor back-upconfiguratie waarmee beheerders met beheerders- of super ACL-bevoegdheden willekeurige DDL- en DML-instructies kunnen uitvoeren tegen de toepassingsdatabase door een vervaardigd SQL-bestand te uploaden in de parameter form_step=202 in backup.php. Aanvallers kunnen de ongefilterde shell_exec-aanroep van de opdrachtregelclient mysql gebruiken om inloggegevens te extraheren, toegangscontroletabellen te wijzigen, backdoor-accounts te injecteren, permanente triggers of opgeslagen procedures te maken en willekeurige bestanden te schrijven naar het bestandssysteem waar MySQL-bestandsrechten en permissieve secure_file_priv-instellingen zijn geconfigureerd.
Origineel (Engels) tonen
OpenEMR through 8.2.0 contains an authenticated SQL injection vulnerability in the backup configuration import feature that allows administrators with admin or super ACL privileges to execute arbitrary DDL and DML statements against the application database by uploading a crafted SQL file at the form_step=202 parameter in backup.php. Attackers can exploit the unfiltered shell_exec invocation of the mysql command-line client to extract credential hashes, modify access control tables, inject backdoor accounts, create persistent triggers or stored procedures, and write arbitrary files to the filesystem where MySQL FILE privileges and permissive secure_file_priv settings are configured.