PT-2018-13806 · Elefant · Elefant Cms

Liao10086

·

Published

2018-09-12

·

Updated

2022-05-14

·

CVE-2018-16974

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Elefant CMS versions prior to 2.0.7
Description The issue concerns a PHP Code Execution Vulnerability. It can be exploited by using the /filemanager/api/rm/.htaccess endpoint to remove the .htaccess file, and then using a filename that ends in .php followed by space characters to bypass the blacklist. This vulnerability is present in the apps/filemanager/upload/drop.php file.
Recommendations For Elefant CMS versions prior to 2.0.7, update to version 2.0.7 or later to resolve the issue. As a temporary workaround, consider restricting access to the /filemanager/api/rm/.htaccess endpoint and the apps/filemanager/upload/drop.php file to minimize the risk of exploitation. Avoid using filenames that end in .php followed by space characters in the affected API endpoint until the issue is resolved.

Exploit

Fix

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-16974
GHSA-77J2-7WHR-6VPX

Affected Products

Elefant Cms