iCMS Remote Code Execution Vulnerability in ConfigAdmincp.php POST Parameter Handler

Vulnerability

A critical remote code execution vulnerability has been identified in iCMS versions through 8.0.0. The issue resides in the 'save' function of the 'ConfigAdmincp' class within the 'app/config/ConfigAdmincp.php' file. This vulnerability allows authenticated administrators to execute arbitrary PHP functions by manipulating the 'saveCall' POST parameter. The vulnerability can be exploited remotely, but requires valid admin credentials and a CSRF token from the current session.

Impact

Exploitation of this vulnerability allows authenticated users to execute arbitrary PHP code on the server, potentially leading to a full compromise of the web application and server.

Reproduction

To reproduce this vulnerability, an authenticated administrator must send a POST request to '/admincp.php/config/system' with a valid CSRF token and 'iCMS_ADMINCP' session cookie. The 'config' parameter can be used to specify the command or data, while the 'saveCall' parameter is used to indicate the PHP function to be executed. Once the request is sent, the specified function will be called with the provided data, resulting in code execution on the server.

Remediation

It is recommended to implement a whitelist of allowed callback functions and to validate user input before using it in function calls.

Added: Dec 31, 2025, 7:20 PM
Updated: Dec 31, 2025, 8:53 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
5.7
remediation
0.0
relevance
1.7
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.