Vulnerability Details : CVE-2018-15142
Potential exploit
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.
Vulnerability category: Directory traversal
Products affected by CVE-2018-15142
- cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-15142
2.43%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 84 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-15142
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2018-15142
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-15142
-
https://github.com/openemr/openemr/pull/1765/files
fix path by bradymiller · Pull Request #1765 · openemr/openemr · GitHubPatch;Third Party Advisory
-
https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/
OpenEMR patches serious vulnerabilities uncovered by Project InsecurityThird Party Advisory
-
https://www.exploit-db.com/exploits/45202/
OpenEMR 5.0.1.3 - (Authenticated) Arbitrary File ActionsExploit;Third Party Advisory;VDB Entry
Jump to