{
  "schema_version": "1.4.0",
  "id": "GHSA-ffhh-fjrg-f4fj",
  "modified": "2022-05-14T02:45:26Z",
  "published": "2022-05-14T02:45:26Z",
  "aliases": [
    "CVE-2018-15142"
  ],
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15142"
    },
    {
      "type": "WEB",
      "url": "https://github.com/openemr/openemr/pull/1765/files"
    },
    {
      "type": "WEB",
      "url": "https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/45202"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-08-13T18:29:00Z"
  }
}