Technical impact
CGI modules older than 5.00 for Perl incorrectly process request parameters when an unrecognized HTTP method is supplied. In such cases, the module falls back to its offline debugging mode, which is enabled by default. The fallback uses the process’s command line arguments to build parameters and path information, meaning an attacker can supply arbitrary arguments that will be interpreted as part of the CGI script’s execution context. The possibility that these arguments could trigger execution of arbitrary commands is inferred from the described behavior but is not explicitly stated in the description. This weakness is documented as CWE‑489 and can lead to unexpected behavior or potential command execution depending on the script’s design.
Affected Systems
Perl web applications that use the CGI.pm module version 4.x or earlier from the LEEJO/CGI CPAN package are affected on any platform that runs them. Any environment where those modules are loaded, including legacy sites with CGI scripts, is at risk, especially if the modules are not upgraded to version 5.00 or later.
Risk and Exploitability
Because exploiting the flaw requires an unrecognized HTTP method such as OPTIONS and depends on the CGI module’s offline debugging mode being enabled, the attack surface is narrow. The EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA KEV, suggesting a lower likelihood of widespread exploitation. Nevertheless, the potential to inject arbitrary command line arguments represents a significant risk, warranting timely remediation. The CVSS score of 9.8 indicates high severity.