{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.0.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "de8f921c70cf25af9ae50a025c390da5984e5179"
            },
            {
              "fixed": "49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0"
            }
          ],
          "repo": "https://github.com/jbroadway/elefant",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).",
  "id": "CVE-2018-16974",
  "modified": "2026-04-01T23:09:17.107338433Z",
  "published": "2018-09-12T21:29:00.613Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jbroadway/elefant/issues/287"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}