## Overview
OpenCATS versions prior to commit 3002a29 are vulnerable to a PHP code injection attack. This vulnerability allows unauthenticated attackers to execute arbitrary code through the installer AJAX endpoint. The exploit is now weaponized and publicly available.
## Technical Details
The vulnerability resides in the databaseConnectivity action parameter of the OpenCATS installer. Attackers can inject PHP statements by breaking out of the define() string context in config.php. They can achieve this using a single quote and statement separator. This injection can persist and execute on every subsequent page load if the installation wizard remains incomplete.
## Impact
With a CVSS score of 9.2, this vulnerability poses a significant risk. Successful exploitation allows attackers to run arbitrary PHP code on the server. This could lead to unauthorized access, data manipulation, or complete system compromise. Organizations using affected versions of OpenCATS should act quickly to mitigate this risk.
## Mitigation
Defenders should update OpenCATS to commit 3002a29 or later to close this vulnerability. Immediate action is necessary to prevent potential exploitation. Additionally, organizations should review their installation processes to ensure that the installation wizard is completed to avoid leaving systems in a vulnerable state.
CSURFACE Threat Sensor