Stay in Touch

Application security insights and invitations to exclusive events in your inbox


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in CLANSPHERE

Advisory ID:HTB22691
Product:CLANSPHERE
Vendor:csphere.eu
Vulnerable Versions:2010.0 Final and probably prior
Tested Version:2010.0 Final
Advisory Publication:November 2, 2010 [without technical details]
Vendor Notification:November 2, 2010
Public Disclosure:November 16, 2010
Latest Update:November 16, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Scripting [CWE-79]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
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 CLANSPHERE which could be exploited to perform cross-site scripting, script insertion and SQL injection attacks.

1) Cross-site scripting (XSS) vulnerability in CLANSPHERE
The vulnerability exists due to input sanitation error in the "pic" and "size" parameters in mods/gallery/print_now.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
http://[host]/mods/gallery/print_now.php?pic=%22%3E%3Cscript%3Ealert%28%22XS S%22%29;%3C/script%3E
h ttp://[host]/mods/gallery/print_now.php?pic=1&size=%22%3E%3Cscript%3Ealert%2 8%22XSS%22%29;%3C/script %3E


2) Script insertion vulnerability in CLANSPHERE
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:
[img][url]onerror=javascript:alert(/XSS/);"'[/url][/img]

3) SQL injection vulnerability in CLANSPHERE
The vulnerability exists due to input sanitation errors in the "where" parameter via index.php within the "replays" module. 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:
http://[host]/index.php?mod=replays&action=list&where=123%27%20union%20selec t%201,2,@@version,4,5%20 --%20#


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Upgrade to 2010.1 Release.


References:
[1] High-Tech Bridge Advisory HTB22691 - https://www.htbridge.com/advisory/HTB22691 - Multiple Vulnerabilities in CLANSPHERE
[2] CLANSPHERE - csphere.eu - ClanSphere is a free open-source software.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - 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.
High-Tech Bridge on Facebook High-Tech Bridge on Twitter High-Tech Bridge on LinkedIn High-Tech Bridge RSS Feeds Send by Email
Share
Let's Talk