{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-16974","id":"CVE-2018-16974","title":"Elefant CMS Code Execution Vulnerability","description":"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).","descriptionLong":"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).","published":"2018-09-12T21:00:00.000Z","updated":"2026-10-20T10:50:04.173792527Z","reserved":"2018-09-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"elefant/cms","purl":"pkg:composer/elefant/cms","ranges":["<2.0.7"],"fixed":["2.0.7"],"advisory":"GHSA-77j2-7whr-6vpx"}],"cwes":["CWE-434"],"aliases":["GHSA-77j2-7whr-6vpx"],"references":[{"url":"https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","web"]},{"url":"https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jbroadway/elefant/issues/287","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16974","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03596,"epssPercentile":0.89672,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-16974","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16974","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-16974","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-77j2-7whr-6vpx","ok":true,"note":"GHSA-77j2-7whr-6vpx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-16974","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}