{
  "schema_version": "1.4.0",
  "id": "GHSA-m5fp-95pj-x2v6",
  "modified": "2022-05-17T00:28:40Z",
  "published": "2022-05-17T00:28:40Z",
  "aliases": [
    "CVE-2017-15285"
  ],
  "details": "X-Cart 5.2.23, 5.3.1.9, 5.3.2.13, and 5.3.3 is vulnerable to Remote Code Execution. This vulnerability exists because the application fails to check remote file extensions before saving locally. This vulnerability can be exploited by anyone with Vendor access or higher. One attack methodology is to upload an image file in the Attachments section of a product catalog, upload a .php file with an \"Add File Via URL\" action, and change the image's Description URL to reference the .php URL in the attachments/ 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-2017-15285"
    },
    {
      "type": "WEB",
      "url": "https://sxcurity.github.io/PHP%20Code%20Injection%20in%20X-Cart.pdf"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2017-10-12T08:29:00Z"
  }
}