30134 : PunBB Predictable cookie_seed Weakness
Printer | http://osvdb.org/30134 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
4 295 over 5 years ago over 2 years ago 1 times 90%

Timeline

Disclosure Date
2006-10-15

Description

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.

Products

Rickard Andersson
Watch-list
PunBB
Watch-list
1.2.13

References

Manual Testing Notes

Credit

  • nms - nmswargan.org - http://www.wargan.org/

CVSSv2 Score

CVSSv2 Base Score = 7.2
Source: nvd.nist.gov | Generated: 2006-11-08 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Blogs

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.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use