An issue was discovered in custom/ajax_download.php in OpenEMR before 5.0.2 via the fileName parameter
No fixed version listed yet.Check the vendor advisory. References ↓
The flaw is in custom/ajax_download.php in OpenEMR versions before 5.0.2, where the fileName parameter is not properly handled. An attacker who can reach this endpoint can download any file readable by the www-data user from server storage and, if the file is writable by www-data and the /var/www/openemr/sites/default/documents/cqm_qrda/ directory exists, delete it.
Official description · CVE.org
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (PoC-in-GitHub) was available the same day.
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.