Arbitrary PHP Code Execution via Directory Traversal in OpenEMR

Arbitrary PHP Code Execution via Directory Traversal in OpenEMR

CVE-2018-15142 · MEDIUM Severity

AV:N/AC:L/AU:S/C:P/I:P/A:P

Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to execute arbitrary PHP code by writing a file with a PHP extension via the "docid" and "content" parameters and accessing it in the traversed directory.

Learn more about our Web Application Penetration Testing UK.