8.8
HIGH CVSS 3.1
CVE-2018-15139
OpenEMR Unvalidated File Upload RCE
Description

Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.

INFO

Published Date :

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

Last Modified :

Nov. 21, 2024, 3:50 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-15139 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
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

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

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-15139 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-15139 weaknesses.

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).

Driftingblues8_HackMyVM_Easy

HTML CSS

Updated: 3 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : May 11, 2025, 9:51 p.m. This repo has been linked 1 different CVEs too.

OpenEMR < 5.0.1.4 - (Authenticated) File upload - Remote command execution

exploit poc openemr upload file-upload rce remote-command-execution cve-2018-15139 openemr-vulnerability openemr-exploit

Ruby

Updated: 2 years, 10 months ago
2 stars 2 fork 2 watcher
Born at : July 5, 2021, 4:03 p.m. This repo has been linked 2 different CVEs too.

The whole collection of Exploits developed by me (Hacker5preme)

Python

Updated: 2 months ago
100 stars 29 fork 29 watcher
Born at : May 26, 2021, 6:52 a.m. This repo has been linked 29 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 6 months, 1 week ago
2 stars 55 fork 55 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1008 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-15139 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-15139 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html
    Added Reference http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html
    Added Reference https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit
    Added Reference https://github.com/openemr/openemr/pull/1757/commits/c2808a0493243f618bbbb3459af23c7da3dc5485
    Added Reference https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/
  • CVE Modified by [email protected]

    May. 14, 2024

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

    Feb. 10, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit No Types Assigned https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit Exploit, Third Party Advisory
    Changed Reference Type https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ Third Party Advisory https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ Exploit, Third Party Advisory
  • CVE Modified by [email protected]

    Jan. 28, 2022

    Action Type Old Value New Value
    Added Reference https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 14, 2021

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html No Types Assigned http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html No Types Assigned http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Jul. 13, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 14, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html [No Types Assigned]
  • 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://github.com/openemr/openemr/pull/1757/commits/c2808a0493243f618bbbb3459af23c7da3dc5485 No Types Assigned https://github.com/openemr/openemr/pull/1757/commits/c2808a0493243f618bbbb3459af23c7da3dc5485 Patch, Third Party Advisory
    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
    Added CWE CWE-434
    Added CPE Configuration OR *cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* versions up to (excluding) 5.0.1.4
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.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

80.62 }} -0.36%

score

0.99076

percentile