FeehiCMS version 2.1.1 has a Remote Code Execution via Unrestricted File Upload in Ad Management. FeehiCMS version 2.1.1 allows authenticated remote attackers to upload files that the server later executes (or stores in an executable location) without sufficient validation, sanitization, or execution restrictions. An authenticated remote attacker can upload a crafted PHP file and cause the application or web server to execute it, resulting in remote code execution (RCE).
FeehiCMS https://github.com/liufee/cms
Login as a backend user. Navigate to Ad Management.
Upload a JPEG file and intercept the request.
Modify the following.
File extension: jpeg --> php
Modify the file content to .
In the backend server, observe the uploaded file path.
Open the path in the browser, and run the system commands.