CVE-2006-6966

phpgraphy < 0.9.13 - Remote Code Execution via Config File Upload

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-6966. PoCs published by rgod.

AI-analyzed exploit summary This exploit targets PHPGraphy 0.9.12 by leveraging an authentication bypass and file upload vulnerability to achieve remote command execution. It resets the admin password, logs in, and uploads a malicious PHP shell to execute arbitrary commands via the CLIENT-IP header.

Description

phpGraphy before 0.9.13a does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a config.php file via the pictures[] parameter to index.php. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in phpGraphy.

Exploits (1)

exploitdb WORKING POC VERIFIED
by rgod · phpwebappsphp
https://www.exploit-db.com/exploits/2867

This exploit targets PHPGraphy 0.9.12 by leveraging an authentication bypass and file upload vulnerability to achieve remote command execution. It resets the admin password, logs in, and uploads a malicious PHP shell to execute arbitrary commands via the CLIENT-IP header.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHPGraphy 0.9.12
No auth needed
Prerequisites: register_globals=on · writable directory in the target application
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Exploit vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1017571
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/30634

Scores

EPSS 0.0245
EPSS Percentile 82.2%

Details

Status published
Products (16)
phpgraphy/phpgraphy 0.9
phpgraphy/phpgraphy 0.9.1
phpgraphy/phpgraphy 0.9.2
phpgraphy/phpgraphy 0.9.3
phpgraphy/phpgraphy 0.9.4
phpgraphy/phpgraphy 0.9.5
phpgraphy/phpgraphy 0.9.6
phpgraphy/phpgraphy 0.9.7
phpgraphy/phpgraphy 0.9.8
phpgraphy/phpgraphy 0.9.9
... and 6 more
Published Feb 04, 2007
Tracked Since Feb 18, 2026