{"id":"CVE-2006-6966","aliases":["EUVD-2006-6949","GHSA-3qpg-c9c8-hv6g"],"status":"published","title":"phpGraphy before 0.9.13a does not properly unset variables when the input data includes a numeric...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0259,"percentile":0.85389,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-02-04T00:00:00Z","modified":"2026-06-16T22:34:08Z","exploits":[{"source":"exploitdb","id":"EDB-2867","title":"phpGraphy 0.9.12 - Privilege Escalation / Commands Execution","type":"webapps","platform":"php","date":"2006-11-30","verified":true,"url":"https://www.exploit-db.com/exploits/2867"}],"products":[{"vendor":"phpgraphy","product":"phpgraphy"}],"references":[{"url":"http://phpgraphy.sourceforge.net/changelog.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://sourceforge.net/forum/forum.php?forum_id=659277","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://securitytracker.com/id?1017571","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-6966"},{"url":"https://github.com/advisories/GHSA-3qpg-c9c8-hv6g"}],"sources":{"cve":[{"id":"CVE-2006-6966","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.","status":"published","published":"2007-02-04T00:00:00Z","modified":"2024-08-07T20:50:06.291Z","updated_at":"2026-11-02T14:33:50.374603Z"}],"euvd":[{"id":"EUVD-2006-6949","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.","status":"published","published":"2007-02-04T00:00:00Z","modified":"2024-08-07T20:50:06Z","updated_at":"2026-11-03T01:15:41.107436Z"}],"ghsa":[{"id":"GHSA-3qpg-c9c8-hv6g","title":"phpGraphy before 0.9.13a does not properly unset variables when the input data includes a numeric...","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.","status":"published","published":"2022-05-01T07:43:29Z","modified":"2023-01-31T05:02:47Z","updated_at":"2026-11-02T14:48:19.79999Z"}],"nvd":[{"id":"CVE-2006-6966","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.","status":"published","published":"2007-02-04T00:28:00Z","modified":"2026-06-16T22:34:08.247Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:10.726159Z"}]}}
