Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
9DescriptionCVE.org
OpenCATS prior to commit 3002a29 contains a PHP code injection vulnerability in the installer AJAX endpoint that allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.
AnalysisAI
Remote code execution in OpenCATS installer allows unauthenticated attackers to inject and execute arbitrary PHP code by manipulating the AJAX endpoint's databaseConnectivity action parameter. The injected code persists in config.php and executes on every page load while the installation wizard remains incomplete. Publicly available exploit code demonstrates breakout from define() string context using quote and statement separator techniques. Patch available via GitHub commit 3002a29, though CVSS AC:H (high complexity) suggests exploitation requires specific timing or environmental conditions during installation phase.
Technical ContextAI
OpenCATS is an open-source applicant tracking system built in PHP. This vulnerability (CWE-94: Improper Control of Generation of Code) exists in the installation wizard's AJAX endpoint (modules/install/ajax/ui.php), specifically in the databaseConnectivity action handler. The installer writes configuration values to config.php using PHP's define() function without proper input sanitization. Attackers exploit insufficient escaping in the CATSUtility.php configuration writer (lines 142-172) to inject PHP code. By sending crafted parameters containing single quotes and PHP statement separators (semicolons), attackers break out of the string context within define() calls and inject arbitrary PHP statements. The malicious code persists in the configuration file and executes server-side on every subsequent page request, achieving persistent remote code execution. The vulnerability only affects installations where the setup wizard has not been completed, creating a race condition window during deployment.
RemediationAI
Upgrade to OpenCATS commit 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 or later, available via GitHub pull request #706 (https://github.com/opencats/OpenCATS/pull/706). Organizations should verify no tagged release version number has been published yet - apply the commit patch directly from the repository. Immediate compensating controls for systems that cannot be patched: (1) Complete the installation wizard fully on all OpenCATS instances to close the vulnerable AJAX endpoint access, noting this permanently removes the attack surface. (2) Restrict network access to installation paths (/modules/install/*) using web server rules or firewall ACLs, allowing only trusted admin IPs during setup - trade-off is operational overhead for distributed teams. (3) Delete or rename the /modules/install/ directory after completing installation, though this may complicate future reinstallation scenarios. (4) Monitor config.php for unexpected modifications or PHP code outside define() statements as breach indicator. For new deployments, complete installation in isolated network segments before internet exposure.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26052