8.8
HIGH
CVE-2018-15142
OpenEMR RCE through File Upload and Traversal
Description

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.

INFO

Published Date :

Aug. 13, 2018, 6:29 p.m.

Last Modified :

Oct. 10, 2018, 6:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2018-15142 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-15142 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Open-emr openemr
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-15142.

URL Resource
https://github.com/openemr/openemr/pull/1765/files Patch Third Party Advisory
https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ Third Party Advisory
https://www.exploit-db.com/exploits/45202/ Exploit Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

OpenEMR <= 5.0.1 - (Authenticated) Remote Code Execution

openemr openemr-exploit openemr-rce openemr-vulnerability openemr-shell-upload rce remote-code-execution exploit poc proof-of-concept cve-2018-15142

Ruby

Updated: 2 years, 6 months ago
8 stars 0 fork 0 watcher
Born at : July 16, 2020, 6:52 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-15142 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-15142 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 10, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ No Types Assigned https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ Third Party Advisory
    Changed Reference Type https://github.com/openemr/openemr/pull/1765/files No Types Assigned https://github.com/openemr/openemr/pull/1765/files Patch, Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/45202/ No Types Assigned https://www.exploit-db.com/exploits/45202/ Exploit, Third Party Advisory, VDB Entry
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* versions up to (excluding) 5.0.1.4
  • CVE Modified by [email protected]

    Aug. 18, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/45202/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-15142 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.81 }} 0.24%

score

0.79960

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability