LiveActive security incident?Get immediate response
CVE Record

CVE-2012-10037: PhpTax pfilez Parameter Exec Remote Code Injection

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.

CriticalCVSS 9.3Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

PhpTax 0.8 has an unauthenticated remote code execution flaw. A hostile request can make the server run operating-system commands through the web application, potentially exposing tax data and enabling server takeover within the web server’s permissions.

Executive priority

Treat this as urgent for any live PhpTax 0.8 deployment. The business risk is server compromise and sensitive tax-data exposure, with public exploit references lowering attacker effort.

Technical view

The issue is CWE-78 command injection in drawimage.php. The pfilez GET parameter is passed to exec() without sanitization, allowing unauthenticated remote command execution as the web server user. The source bundle rates it CVSS 4.0 9.3 critical.

Likely exposure

Exposure is limited to environments still running PhpTax 0.8, especially if the application is reachable from the internet or untrusted internal networks. The provided sources do not identify other affected versions.

Exploitation context

Public exploit references exist in Metasploit and Exploit-DB, but the source bundle says KEV is false. There is no provided evidence of active exploitation, only public exploit availability and unauthenticated network reachability.

Researcher notes

Evidence is strong for root cause and affected version from the CVE bundle. Patch status is not established in the provided sources, so remediation should prioritize removal, isolation, or vendor-confirmed guidance.

Mitigation direction

  • Inventory public and internal web hosts for PhpTax.
  • Remove, disable, or isolate PhpTax 0.8 until vendor guidance is confirmed.
  • Restrict access with authentication, VPN, or web server rules if temporary operation is unavoidable.
  • Review web and process logs for unexpected command execution indicators.
  • Migrate away from unsupported PhpTax if no maintained fix is available.

Validation and detection

  • Check software inventory and filesystem evidence for PhpTax 0.8.
  • Review web routing to determine whether drawimage.php is reachable remotely.
  • Verify pfilez input handling has been removed, patched, or blocked.
  • Confirm compensating controls prevent unauthenticated internet access.
  • Search logs for suspicious drawimage.php requests and anomalous web server child processes.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2012-10037 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.3 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.3CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

9.3Critical
CVSS 4.0 vector shape for CVE-2012-10037Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
PhpTaxPhpTax0.8unknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.