CVE-2018-16974 json
Elefant CMS Code Execution Vulnerability
published 2018-09-12 8 y ago modified 2026-06-17 4 mo ago also GHSA-77j2-7whr-6vpx , EUVD-2022-2942
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- packagist elefant/cms 2.0.7
- elefantcms elefant 2.0.7
Exploit prediction
3.60% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jbroadway/elefant/issues/287 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | elefant/cms | <2.0.7 |
2.0.7 |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0
web, patch, third-party-advisory
-
github.com
/jbroadway/elefant/issues/287
web, exploit, patch, third-party-advisory
-
github.com
/jbroadway/elefant/releases/tag/elefant_2_0_7_stable
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2018-16974
advisory
Sources
- CVE List CVE-2018-16974
- GitHub Advisory GHSA-77j2-7whr-6vpx
- NVD CVE-2018-16974
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.