Skip to content

Latest commit

 

History

History
30 lines (14 loc) · 1.48 KB

File metadata and controls

30 lines (14 loc) · 1.48 KB

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.

image

Upload a JPEG file and intercept the request.

image

Modify the following.

File extension: jpeg --> php

Modify the file content to .

image

In the backend server, observe the uploaded file path.

image

Open the path in the browser, and run the system commands.

image