CVE-2004-2692 Command injection in n/a
Remote attackers can execute arbitrary commands via backtick operators in PHP when safe mode is disabled, bypassing security restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2004-2692?
CVE-2004-2692 is a critical command injection vulnerability in n/a, published on 6 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to bypass restrictions and execute arbitrary commands via a backtick operator, which is not handled using the php_escape_shell_cmd function.
Which versions are affected by CVE-2004-2692?
It affects 1 product.
Products include Kyberdigi Labs Php-Exec-Dir.
How do I fix CVE-2004-2692?
No fix has been published for CVE-2004-2692 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2004-2692 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2692 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-4h82-3wj3-6799.