{"id":"CVE-2006-1087","sourceIdentifier":"cve@mitre.org","published":"2006-03-09T00:02:00.000","lastModified":"2026-06-16T22:21:59.850","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Direct static code injection vulnerability in the modify_config action in admin.php for PHP-Stats 0.1.9.1 and earlier allows remote authenticated administrators to execute arbitrary PHP code via the option_new[compatibility_mode] parameter, which is not filtered before being stored in config.php.  NOTE: this vulnerability can be exploited by remote unauthenticated attackers in conjunction with the option[admin_pass] authentication bypass vulnerability."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php-stats:php-stats:*:*:*:*:*:*:*:*","versionEndIncluding":"0.1.9.1","matchCriteriaId":"B84DB8B6-05FF-4B6D-BB11-CE5CC3CBFA70"}]}]}],"references":[{"url":"http://retrogod.altervista.org/php_stats_0191_adv.html","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://secunia.com/advisories/19116","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.phpstats.net/forum/viewtopic.php?t=140","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/426762/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/428614/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/429145/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/16963","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2006/0822","source":"cve@mitre.org"},{"url":"http://retrogod.altervista.org/php_stats_0191_adv.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://secunia.com/advisories/19116","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.phpstats.net/forum/viewtopic.php?t=140","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/426762/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/428614/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/429145/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/16963","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2006/0822","source":"af854a3a-2127-422b-91ae-364da2661108"}]}