Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-15140

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 read arbitrary files via the "docid" parameter when the mode is set to get.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-15140
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:03 UTC · Revision 1

Source evidence

CVE-2018-15140

core-osv · Original source

Published 13 Aug 2018, 18:29 UTC

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 read arbitrary files via the "docid" parameter when the mode is set to get.

osv:CVE-2018-15140
Complete source record
{
  "id": "d7bd1cb7491ff551482c6cc6e7f181da40e4b99914e5bc7c5e17f5657e4cecb3",
  "url": "https://osv.dev/vulnerability/CVE-2018-15140",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-15140",
    "summary": "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 read arbitrary files via the \"docid\" parameter when the mode is set to get.",
    "evidence": "osv:CVE-2018-15140",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-15140",
      "aliases": [
        "CVE-2018-15140"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openemr/openemr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f6b1724e1a71df6a4c2ba0aeaf900a877b20546"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.0.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5_0_1_3",
            "v5_0_1_2",
            "v5_0_1_1",
            "v5_0_1",
            "v3_0_1",
            "v3_0_0",
            "v2_9_0",
            "v2_8_3",
            "v2_8_2",
            "v2_8_1",
            "v2_8_0",
            "v2_7_3-rc1",
            "v2_7_2",
            "v2_7_2-rc2",
            "v2_7_2-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15140.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:49.160776345Z",
      "provider": "osv",
      "references": [
        "https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/",
        "https://github.com/openemr/openemr/pull/1765/files",
        "https://www.exploit-db.com/exploits/45202/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-15140",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380831,
  "published_at": "2018-08-13T18:29:00.387+00:00"
}