CVE-2012-10037

CRITICAL

PhpTax 0.8 - Unauthenticated Remote Code Execution via drawimage.php pfilez Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2012-10037. PoCs published by Metasploit, Jean Pascal Pereira, including Metasploit module exploits/multi/http/phptax_exec.

AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in PhpTax 0.8 via the 'pfilez' parameter in drawimage.php, allowing arbitrary remote code execution under the context of the web server. The exploit sends a crafted GET request with the payload embedded in the 'pfilez' parameter.

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.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Metasploit · rubywebappsphp
https://www.exploit-db.com/exploits/21833

This Metasploit module exploits a command injection vulnerability in PhpTax 0.8 via the 'pfilez' parameter in drawimage.php, allowing arbitrary remote code execution under the context of the web server. The exploit sends a crafted GET request with the payload embedded in the 'pfilez' parameter.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PhpTax 0.8
No auth needed
Prerequisites: Target running PhpTax 0.8 with exposed drawimage.php
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Jean Pascal Pereira · textwebappsphp
https://www.exploit-db.com/exploits/21665

The exploit leverages a file inclusion vulnerability in phptax 0.8 via the `pfilez` parameter in `drawimage.php`, allowing remote code execution through command injection. The PoC demonstrates a bind shell using netcat.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: phptax 0.8
No auth needed
Prerequisites: Network access to the target application · phptax 0.8 or earlier installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phptax_exec.rb

This Metasploit module exploits a command injection vulnerability in PhpTax 0.8 via the 'pfilez' parameter in drawimage.php, allowing arbitrary code execution without authentication.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PhpTax 0.8
No auth needed
Prerequisites: Network access to the target web application
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4

Scores

CVSS v4 9.3
EPSS 0.0144
EPSS Percentile 69.7%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
PhpTax/PhpTax 0.8
Published Aug 11, 2025
Tracked Since Feb 18, 2026