The CodeRider-Kilo command auto-approval module has a vulnerability that allows attackers to inject malicious OS commands by exploiting a discrepancy between the parsing logic and the Windows execution environment. This is due to the incorrect use of a Unix-based shell-quote library on the Windows platform, which fails to handle Windows CMD-specific escape sequences. As a result, attackers can bypass the whitelist security mechanism and achieve arbitrary Remote Code Execution.
The command auto-approval module in CodeRider-Kilo contains an OS Command Injection vulnerability, rendering its whitelist security mechanism ineffective. The vulnerability stems from the incorrect use of an incompatible command parser (the Unix-based shell-quote library) to analyze commands on the Windows platform, coupled with a failure to correctly handle Windows CMD-specific escape sequences (^). Attackers can exploit this discrepancy between the parsing logic and the execution environment by constructing payloads such as git log ^" & malicious_command ^". The CodeRider-Kilo parser is deceived by the escape characters, misinterpreting the malicious command connector (&) as being within a protected string argument and thus auto-approving the command. However, the underlying Windows CMD interpreter ignores the escaped quotes, parsing and executing the subsequent malicious command directly. This allows attackers to achieve arbitrary Remote Code Execution (RCE) after bypassing what appears to be a legitimate Git whitelist check.
Developers using CodeRider-Kilo are at critical risk of Remote Code Execution attacks via network exploitation, which can lead to complete system compromise.
Immediate Action Required
This vulnerability is critical and can be exploited with high impact.
What should I do?
Published
CVE disclosed publicly
Last Modified
Most recent update
Indexed to CVEInsight
Added to this platform
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
0
Affected Products
1
References
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploitability
Impact