CVE-2006-0164

phgstats - Remote Code Execution via PHGDIR Variable Manipulation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-0164. PoCs published by bd0rk.

AI-analyzed exploit summary This exploit targets a remote file inclusion vulnerability in PostNuke Module phgstats 0.5 by injecting a remote command shell via the 'phgdir' parameter. It uses LWP::UserAgent to send crafted HTTP requests to execute arbitrary commands on the target system.

Description

phgstats.inc.php in phgstats before 0.5.1, if register_globals is enabled, allows remote attackers to include arbitrary files and execute arbitrary PHP code by modifying the PHGDIR variable.

Exploits (1)

exploitdb WORKING POC VERIFIED
by bd0rk · perlwebappsphp
https://www.exploit-db.com/exploits/3454

This exploit targets a remote file inclusion vulnerability in PostNuke Module phgstats 0.5 by injecting a remote command shell via the 'phgdir' parameter. It uses LWP::UserAgent to send crafted HTTP requests to execute arbitrary commands on the target system.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PostNuke Module phgstats 0.5
No auth needed
Prerequisites: Target must have phgstats 0.5 installed · Remote command shell must be accessible · PHP allow_url_include must be enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/22302
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/0123
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/24062
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/17469
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/18346

Scores

EPSS 0.0310
EPSS Percentile 86.1%

Details

Status published
Products (8)
woah-projekt/phgstats 0.1
woah-projekt/phgstats 0.2
woah-projekt/phgstats 0.3
woah-projekt/phgstats 0.3.1
woah-projekt/phgstats 0.4
woah-projekt/phgstats 0.4.1
woah-projekt/phgstats 0.4.2
woah-projekt/phgstats 0.5
Published Jan 11, 2006
Tracked Since Feb 18, 2026