CVE-2023-22974 Path traversal in n/a

High 7.5 Published Updated

Remote unauthenticated attackers can read arbitrary files in OpenEMR by exploiting a path traversal vulnerability in setup.php via a malicious MySQL connection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-22974?

CVE-2023-22974 is a high-severity path traversal vulnerability in Open-Emr Openemr, published on 22 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Path Traversal in setup.php in OpenEMR < 7.0.0 allows remote unauthenticated users to read arbitrary files by controlling a connection to an attacker-controlled MySQL server.

Weakness: CWE-552

Which versions are affected by CVE-2023-22974?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2023-22974?

No fix has been published for CVE-2023-22974 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-22974 being exploited?

There is no known exploitation of CVE-2023-22974 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-v79f-mw24-4mx3.

Is CVE-2023-22974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free