{"id":"CVE-2006-1087","aliases":["EUVD-2006-1091","GHSA-h7gp-hg8c-mfjj"],"status":"published","title":"Direct static code injection vulnerability in the modify_config action in admin.php for PHP-Stats...","description":"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.","severity":{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01778,"percentile":0.78385,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2006-03-09T00:00:00Z","modified":"2026-06-16T22:21:59Z","products":[{"vendor":"php-stats","product":"php-stats"}],"references":[{"url":"http://www.vupen.com/english/advisories/2006/0822","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/428614/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://retrogod.altervista.org/php_stats_0191_adv.html","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/archive/1/426762/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/429145/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/19116","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/16963","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.phpstats.net/forum/viewtopic.php?t=140","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-1087"},{"url":"https://github.com/advisories/GHSA-h7gp-hg8c-mfjj"}],"sources":{"cve":[{"id":"CVE-2006-1087","description":"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.","status":"published","published":"2006-03-09T00:00:00Z","modified":"2024-08-07T16:56:15.639Z","updated_at":"2026-11-02T14:33:51.835276Z"}],"euvd":[{"id":"EUVD-2006-1091","description":"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.","status":"published","published":"2006-03-09T00:00:00Z","modified":"2024-08-07T16:56:15Z","updated_at":"2026-11-03T01:16:06.740697Z"}],"ghsa":[{"id":"GHSA-h7gp-hg8c-mfjj","title":"Direct static code injection vulnerability in the modify_config action in admin.php for PHP-Stats...","description":"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.","status":"published","published":"2022-05-01T06:45:58Z","modified":"2023-01-31T05:00:51Z","updated_at":"2026-11-02T14:47:56.116667Z"}],"nvd":[{"id":"CVE-2006-1087","description":"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.","status":"published","published":"2006-03-09T00:02:00Z","modified":"2026-06-16T22:21:59.85Z","cvss":[{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:00.920802Z"}]}}
