PT-2021-10345 · Openemr · Openemr

Published

2021-01-20

·

Updated

2021-01-22

·

CVE-2020-19364

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: OpenEMR version 5.0.1
Description: The issue allows an authenticated attacker to upload and execute malicious PHP scripts through the "/controller.php" API endpoint. This can be achieved by exploiting the vulnerability in the controller.php file, which does not properly validate uploaded scripts.
Recommendations: For OpenEMR version 5.0.1, consider disabling the upload functionality in the /controller.php endpoint until a patch is available. Restrict access to the /controller.php endpoint to minimize the risk of exploitation. Avoid using this endpoint for uploading scripts until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-19364

Affected Products

Openemr