{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a438d034088620bcc1dd3856a3d5c32d1cb17dcc"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OpenEMR before 5.0.0 Patch 5 allows unauthenticated remote database copying because setup.php exposes functionality for cloning an existing OpenEMR site to an arbitrary attacker-controlled MySQL server via vectors involving a crafted state parameter.",
  "id": "CVE-2017-16540",
  "modified": "2026-03-13T21:48:27.009556026Z",
  "published": "2017-11-04T19:29:00.410Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/101983"
    },
    {
      "type": "REPORT",
      "url": "https://isears.github.io/jekyll/update/2017/10/28/openemr-database-disclosure.html"
    },
    {
      "type": "FIX",
      "url": "http://www.open-emr.org/wiki/index.php/OpenEMR_Patches"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}