Xinhu Rainrock RockOA
cpe:2.3:a:rockoa:xinhu:*:*:*:*:*:*:*
- 2.7.0
A vulnerability exists in the Xinhu Rainrock RockOA version 2.7.0 within the 'phpinisaveAction' method of 'coginiAction.php'. This issue allows authenticated users to remotely alter PHP configuration files. The vulnerability arises because the system permits users to change PHP settings through POST requests without adequate authorization, using 'file_put_contents()' to write these changes directly to the PHP.ini file. This flaw could be exploited to escalate privileges and modify essential PHP settings.
Exploitation of this vulnerability could lead to unauthorized modification of PHP configuration files, allowing for privilege escalation, resource exhaustion, security bypasses, and potential system compromise.
To reproduce this vulnerability, an authenticated user must send a POST request to 'index.php' with the 'a' parameter set to 'phpinisave', the 'm' parameter set to 'cogini', and the 'd' parameter set to 'system'. The request must include the path to the PHP.ini file and the desired configuration changes, such as increasing memory limits or disabling security functions. This vulnerability can be exploited in conjunction with the 'phpinfo()' method to gather information about the PHP environment, including the path to the PHP.ini file and current configuration values.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.