{"api_version":"1","generated_at":"2026-07-23T14:21:31+00:00","cve":"CVE-2006-6966","urls":{"html":"https://cve.report/CVE-2006-6966","api":"https://cve.report/api/cve/CVE-2006-6966.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-6966","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-6966"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-02-04 00:28:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://phpgraphy.sourceforge.net/changelog.php","name":"http://phpgraphy.sourceforge.net/changelog.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"phpGraphy - Changelog - Official Site","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html","name":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Error 404 :(","mime":"text/plain","httpstatus":"404","archivestatus":"200"},{"url":"http://sourceforge.net/forum/forum.php?forum_id=659277","name":"http://sourceforge.net/forum/forum.php?forum_id=659277","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"SourceForge.net: News: 0.9.13a security fix release","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://securitytracker.com/id?1017571","name":"http://securitytracker.com/id?1017571","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"SecurityTracker.com Archives - phpGraphy Zend_Hash_Del_Key_Or_Index Underlying PHP Bug Lets Remote Users Execute Arbitrary Code","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-6966","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-6966","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.10a","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.11","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.12","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"0.9.9a","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6966","vulnerable":"1","versionEndIncluding":"0.9.13","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgraphy","cpe5":"phpgraphy","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T20:50:06.291Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://phpgraphy.sourceforge.net/changelog.php"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/forum/forum.php?forum_id=659277"},{"name":"1017571","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://securitytracker.com/id?1017571"},{"name":"phpgraphy-config-file-include(30634)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-11-30T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://phpgraphy.sourceforge.net/changelog.php"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/forum/forum.php?forum_id=659277"},{"name":"1017571","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://securitytracker.com/id?1017571"},{"name":"phpgraphy-config-file-include(30634)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634"},{"tags":["x_refsource_MISC"],"url":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-6966","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://phpgraphy.sourceforge.net/changelog.php","refsource":"CONFIRM","url":"http://phpgraphy.sourceforge.net/changelog.php"},{"name":"http://sourceforge.net/forum/forum.php?forum_id=659277","refsource":"CONFIRM","url":"http://sourceforge.net/forum/forum.php?forum_id=659277"},{"name":"1017571","refsource":"SECTRACK","url":"http://securitytracker.com/id?1017571"},{"name":"phpgraphy-config-file-include(30634)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30634"},{"name":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html","refsource":"MISC","url":"http://retrogod.altervista.org/phpgraphy_0912_zhdkoi_cmd.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-6966","datePublished":"2007-02-04T00:00:00.000Z","dateReserved":"2007-02-03T00:00:00.000Z","dateUpdated":"2024-08-07T20:50:06.291Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-02-04 00:28:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:*:*:*:*:*:*:*:*","versionEndIncluding":"0.9.13","matchCriteriaId":"F037DBB9-3299-4354-B678-2181DA1BBA17"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9:*:*:*:*:*:*:*","matchCriteriaId":"B76498A5-3928-465F-8368-1388EA328FC4"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.1:*:*:*:*:*:*:*","matchCriteriaId":"5E01F56B-9EAC-418A-9995-022BD521267D"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.2:*:*:*:*:*:*:*","matchCriteriaId":"DB306E0B-97A8-4E0C-85F5-909E4749BF5C"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.3:*:*:*:*:*:*:*","matchCriteriaId":"A2DB2C7A-F3C4-4DC0-BFAE-9F0BABB69DF9"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.4:*:*:*:*:*:*:*","matchCriteriaId":"8AF1E410-19D3-468E-9B3D-4ACB13CEE84B"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.5:*:*:*:*:*:*:*","matchCriteriaId":"C7EA030F-D70A-4175-83DE-075ADA7B7577"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.6:*:*:*:*:*:*:*","matchCriteriaId":"D767774C-9529-4199-9164-2D66F6B9A4E8"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.7:*:*:*:*:*:*:*","matchCriteriaId":"E9DBAFCE-F705-4954-97AE-4620B2B8FE77"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.8:*:*:*:*:*:*:*","matchCriteriaId":"474A1D36-894E-4A6B-BF5B-37B28A03489A"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.9:*:*:*:*:*:*:*","matchCriteriaId":"07054102-C5F8-440F-9123-F1098BE5C972"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.9a:*:*:*:*:*:*:*","matchCriteriaId":"F83775BB-7D82-4E5F-9501-EF405F246BDC"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.10:*:*:*:*:*:*:*","matchCriteriaId":"63F46B5E-2D7A-46FB-87FE-CB866341C9B1"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.10a:*:*:*:*:*:*:*","matchCriteriaId":"559C1B1F-B145-4571-AFE5-2B3BF1C9D5EB"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.11:*:*:*:*:*:*:*","matchCriteriaId":"63A085EA-ED9C-483B-9B0B-51EFEB1585CC"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpgraphy:phpgraphy:0.9.12:*:*:*:*:*:*:*","matchCriteriaId":"1A9A25C9-DF34-4C73-83C5-674BF704E554"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"6966","Ordinal":"1","Title":"CVE-2006-6966","CVE":"CVE-2006-6966","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"6966","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2006-6966"},{"CveYear":"2006","CveId":"6966","Ordinal":"2","NoteData":"2007-02-03","Type":"Other","Title":"Published"},{"CveYear":"2006","CveId":"6966","Ordinal":"3","NoteData":"2017-07-28","Type":"Other","Title":"Modified"}]}}}