PunBB contains a flaw that may allow an attacker to carry out an SQL injection attack leading to the forgery of an authentication cookie. The issue is due to the search.php script not properly sanitizing user-supplied input to the 'result_list' variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database, which can be used to disclose the registration date of the admin user. Using this date they can then set 'cookie_seed' to their own valid value and pass this cookie in a subsequent request, thus bypassing authentication.
Classification
Location:
Remote / Network Access
Attack Type:
Information Disclosure,
Input Manipulation
Impact:
Loss of Confidentiality,
Loss of Integrity
Exploit:
Exploit Rumored
Disclosure:
OSVDB Verified
OSVDB:
Web Related
Technical
This vulnerability is only present when the register_globals PHP option is set to 'on'. This has not been the default setting for PHP installs since version 4.2.0 (22-Apr-2002). As well this relies on the PHP Zend_Hash_Del_Key_Or_Index vulnerability which is present in PHP 4.4.2 and 5.1.3.
Solution
Upgrade to version 1.2.14 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.
This product uses the Daylife API but is not endorsed or certified by Daylife.
This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.