admin.php in PHP-Stats 0.1.9.1 and earlier allows remote attackers to bypass authentication gain administrator privileges and execute arbitrary PHP code by modifying the optionadmin_pass parameter and setting the pass_cookie to the MD5 hash of the specified password.