SecurityContext

CVE-2012-10037: PhpTax - Remote Code Execution

  • Cve: CVE-2012-10037
  • Name: PhpTax - Remote Code Execution
  • 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.
  • Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to the latest version of PhpTax that addresses this issue.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.01916
  • Epss percentile: 0.80397
  • Assignee: [email protected]
  • Published at: 2025-08-11T15:15:27Z
  • Age in days: 470
  • Modified at: 2026-06-16T23:38:43Z
  • Public exploits total: 1
  • References total: 4
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-10037
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/phptax_exec.rbmetasploit2012-10-08

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/phptax_exec.rb
https://sourceforge.net/projects/phptax/
https://www.exploit-db.com/exploits/21665
https://www.exploit-db.com/exploits/21833

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2012-10-08
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts