{"id":"CVE-2019-14530","published":"2019-08-13T13:32:30Z","modified":"2024-08-05T00:19:41Z","title":"An issue was discovered in custom/ajax_download.php in OpenEMR before 5.0.2 via the fileName parameter","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:54Z"},"cvss":null,"epss":{"score":0.65529,"percentile":0.99262,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)","url":"https://otx.alienvault.com/pulse/67c6bb5aa601e91b1314ff44","created":"2025-03-04"},{"name":"Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files","url":"https://otx.alienvault.com/pulse/664cc3c1938ed0b9abf026a2","created":"2024-05-21"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/openemr/openemr/pull/2592","tags":["x_refsource_MISC"]},{"url":"https://github.com/Wezery/CVE-2019-14530","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163215/OpenEMR-5.0.1.7-Path-Traversal.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163375/OpenEMR-5.0.1.7-Path-Traversal.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/Hacker5preme/Exploits/tree/main/CVE-2019-14530-Exploit","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-5700","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-5700","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50037,"url":"https://www.exploit-db.com/exploits/50037","title":"OpenEMR 5.0.1.7 - 'fileName' Path Traversal (Authenticated)","type":"webapps","platform":"php","date":"2021-06-21","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-06-21"},"pocGithub":{"count":2,"skipped":0,"earliest":"2019-08-13","earliestUrl":"https://github.com/Wezery/CVE-2019-14530","repos":[{"name":"sec-it/exploit-CVE-2019-14530","url":"https://github.com/sec-it/exploit-CVE-2019-14530","stars":4,"created":"2021-06-30"},{"name":"Wezery/CVE-2019-14530","url":"https://github.com/Wezery/CVE-2019-14530","stars":0,"created":"2019-08-13"}]},"nuclei":[{"id":"CVE-2019-14530","name":"OpenEMR <5.0.2 - Local File Inclusion","severity":"high","path":"http/cves/2019/CVE-2019-14530.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-14530.yaml"}],"first":{"date":"2019-08-13","source":"PoC-in-GitHub","url":"https://github.com/Wezery/CVE-2019-14530"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/163215/OpenEMR-5.0.1.7-Path-Traversal.html","http://packetstormsecurity.com/files/163375/OpenEMR-5.0.1.7-Path-Traversal.html","https://github.com/Hacker5preme/Exploits/tree/main/CVE-2019-14530-Exploit"],"flow":[],"timeline":[{"date":"2019-08-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-14530","provenance":"source"},{"date":"2019-08-13","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2021-06-21","url":"https://github.com/Wezery/CVE-2019-14530","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":25.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9926"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 3 NVD exploit links; 2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}