HTTP: OpenEMR ajax_download.php Directory Traversal

This signature detects attempts to exploit a known vulnerability against OpenEMR. A successful attack can lead to command injection and arbitrary code execution.

Extended 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.

Affected Products

Open-emr openemr

References

CVE: CVE-2019-14530

Short Name
HTTP:DIR:OPENEMR-AJAX-DOWNLOAD
Severity
Minor
Recommended
True
Recommended Action
Drop
Category
HTTP
Keywords
CVE-2019-14530 Directory OpenEMR Traversal ajax_download.php
Release Date
01/07/2020
Supported Platforms

srx-branch-12.3

srx-19.3

srx-branch-19.3

vsrx3bsd-19.2

srx-branch-19.4

vsrx-19.4

mx-12.3

mx-19.4

vmx-19.4

mx-19.3

vsrx3bsd-19.4

srx-19.4

vsrx-12.3

vmx-19.3

vsrx-19.2

srx-12.3

Sigpack Version
3466
False Positive
Unknown
Vendors

Open-emr

CVSS Score

6.0

Found a potential security threat?