Lucene search
K

MiniBB 2.5 Cross Site Scripting / SQL Injection

🗓️ 05 Nov 2010 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

MiniBB 2.5 XSS & SQL Injection Vulnerabilitie

Code
`======================================  
Vulnerability ID: HTB22670  
Reference: http://www.htbridge.ch/advisory/bbcode_xss_in_minibb.html  
Product: MiniBB  
Vendor: MiniBB.com ( http://www.minibb.com/ )   
Vulnerable Version: 2.5  
Vendor Notification: 21 October 2010   
Vulnerability Type: XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
BBcode isn't properly sanitized. This can be used to post arbitrary script code.  
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability.  
BBcode Example:  
  
[imgs=http://nosuch.gif][url=http://onerror=javascript:alert(/XSS/);"']123[/url][/imgs]  
  
======================================  
Vulnerability ID: HTB22671  
Reference: http://www.htbridge.ch/advisory/sql_injection_in_minibb.html  
Product: MiniBB  
Vendor: MiniBB.com ( http://www.minibb.com/ )   
Vulnerable Version: 2.5  
Vendor Notification: 21 October 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "/index.php" scripts to properly sanitize user-supplied input in "icq", "occupation", "from", "interest", "viewemail", "user_sorttopics" and "language" variables.  
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
  
The following PoC is available:  
  
  
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=pentest%40pentest.com&icq=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  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation