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 read arbitrary files via the "docid" parameter when the mode is set to get.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ | third party advisory |
https://www.exploit-db.com/exploits/45202/ | third party advisory vdb entry exploit |
https://github.com/openemr/openemr/pull/1765/files | third party advisory patch |