{"id":"GHSA-77j2-7whr-6vpx","summary":"Elefant CMS Code Execution Vulnerability","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).","aliases":["CVE-2018-16974"],"modified":"2023-11-08T04:00:02.422002Z","published":"2022-05-14T01:57:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-25T19:39:02Z","nvd_published_at":"2018-09-12T21:29:00Z","cwe_ids":["CWE-434"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16974"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/issues/287"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable"}],"affected":[{"package":{"name":"elefant/cms","ecosystem":"Packagist","purl":"pkg:composer/elefant/cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-77j2-7whr-6vpx/GHSA-77j2-7whr-6vpx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}