BugFree 2.1.3 Cross Site Scripting

2011-10-13T00:00:00
ID PACKETSTORM:105748
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2011-10-13T00:00:00

Description

                                        
                                            `Vulnerability ID: HTB23048  
Reference: https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_bugfree.html  
Product: BugFree   
Vendor: www.bugfree.org.cn ( http://www.bugfree.org.cn/ )   
Vulnerable Version: 2.1.3 and probably prior  
Tested Version: 2.1.3  
Vendor Notification: 21 September 2011   
Vulnerability Type: XSS (Cross Site Scripting)  
Risk level: Medium   
Credit: High-Tech Bridge SA Security Research Lab ( https://www.htbridge.ch/advisory/ )   
  
Vulnerability Details:  
High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in BugFree , which can be exploited to perform cross-site scripting attacks.  
  
1) Input passed via the "ActionType" GET parameter to Bug.php is not properly sanitised before being returned to the user.  
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.  
  
The following PoC code is available:  
  
http://[host]/Bug.php?BugID=1&ActionType=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
  
2) Input passed via the "ReportMode" GET parameter to Report.php is not properly sanitised before being returned to the user.  
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.  
  
The following PoC code is available:  
  
http://[host]/Report.php?ReportMode=%3C/title%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
  
3) Input passed via the "ReportMode" GET parameter to ReportLeft.php is not properly sanitised before being returned to the user.  
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.  
  
The following PoC code is available:  
  
http://[host]/ReportLeft.php?ReportMode=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
  
4) Input appended to the URL after AdminProjectList.php, AdminGroupList.php, AdminUserLogList.php is not properly sanitised before being returned to the user.  
This can be exploited to execute arbitrary HTML and script code in a administator browser session in context of affected website.  
  
The following PoC code is available:  
  
http://[host]/admin/AdminProjectList.php/%27;%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
http://[host]/admin/AdminGroupList.php/%27;%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
http://[host]/admin/AdminUserLogList.php/%27;%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E  
  
  
Disclaimer: Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on the web page in Reference field.  
`