PT-2023-1582 · Openemr · Openemr

Dennis Brinkrolf

·

Published

2023-02-22

·

Updated

2023-03-03

·

CVE-2023-22974

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenEMR versions prior to 7.0.0
Description The issue is related to a Path Traversal vulnerability in the setup.php file of OpenEMR. This vulnerability allows remote unauthenticated users to read arbitrary files by controlling a connection to an attacker-controlled MySQL server. The vulnerability is due to incorrect restriction of the directory path name with limited access. Exploitation of the vulnerability may allow a remote attacker to gain unauthorized access to protected information.
Recommendations For OpenEMR versions prior to 7.0.0, update to version 7.0.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the setup.php file until a patch is available. Avoid using the setup.php file to connect to external MySQL servers until the issue is resolved.

Exploit

Fix

Path traversal

Files Accessible to External Parties

Weakness Enumeration

Related Identifiers

BDU:2023-01075
CVE-2023-22974

Affected Products

Openemr