CVE-2019-14530 Path traversal in n/a

High 8.8 Published Updated

Attackers can read arbitrary files or delete writable files via path traversal in the download handler, exposing sensitive data and causing data loss.

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

What is CVE-2019-14530?

CVE-2019-14530 is a high-severity path traversal vulnerability in Open-Emr Openemr, published on 13 Aug 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in custom/ajax_download.php in OpenEMR before 5.0.2 via the fileName parameter. An attacker can download any file (that is readable by the user www-data) from server storage. If the requested file is writable for the www-data user and the directory /var/www/openemr/sites/default/documents/cqm_qrda/ exists, it will be deleted from server.

Weakness: CWE-22

Which versions are affected by CVE-2019-14530?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2019-14530?

No fix has been published for CVE-2019-14530 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-2019-14530 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-14530 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 2 proofs of concept on GitHub.

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-2c2r-r59f-9396.

Is CVE-2019-14530 in your software?

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

Check your SBOMs for free