CVE-2012-10037 PhpTax pfilez Parameter Exec Remote Code Injection
Remote attackers can execute arbitrary shell commands via the pfilez parameter in drawimage.php without authentication.
- 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-2012-10037?
CVE-2012-10037 is a critical command injection vulnerability in PhpTax, published on 11 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PhpTax version 0.8 contains a remote code execution vulnerability in drawimage.php. The pfilez GET parameter is unsafely passed to the exec() function without sanitization. A remote attacker can inject arbitrary shell commands, leading to code execution under the web server's context. No authentication is required.
Weakness: CWE-78
Which versions are affected by CVE-2012-10037?
How do I fix CVE-2012-10037?
No fix has been published for CVE-2012-10037 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-2012-10037 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10037 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-62c8-77mw-jf34.