SeaCMS
cpe:2.3:a:seacms:seacms:*:*:*:*:*:*:*
- 13.3
A remote code execution vulnerability has been identified in SeaCMS version 13.3. The issue arises in the admin_files.php component, where inadequate restrictions on file suffixes allow attackers to execute commands with system privileges. This is achieved by writing to the admin_files.htm file and exploiting file inclusion vulnerabilities.
Exploitation of this vulnerability allows for remote code execution on the server where SeaCMS is installed.
To reproduce this vulnerability, send a POST request to '0omeqd/admin_files.php' with the 'action=save' parameter. Include a payload in the 'content' parameter that contains PHP code, such as '<?php phpinfo();?>'. The 'filedir' parameter should be set to '../uploads/../0omeqd/templets/admin_files.htm' to write the payload into a file that can be included later. After the file is written, the injected code can be executed by accessing '0omeqd/admin_files.php?action=custom', which triggers the file inclusion and executes the PHP code.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.