{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.1.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8f6b1724e1a71df6a4c2ba0aeaf900a877b20546"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2018-15139",
  "modified": "2026-04-01T23:08:58.817150667Z",
  "published": "2018-08-13T18:29:00.247Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/pull/1757/commits/c2808a0493243f618bbbb3459af23c7da3dc5485"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}