[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XSS vulnerability in BXR



Vulnerability ID: HTB22507
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_bxr_1.html
Product: BXR
Vendor: Hulihan Applications ( http://hulihanapplications.com/projects/bxr ) 
Vulnerable Version: 0.6.8 and Probably Prior Versions
Vendor Notification: 22 July 2010 
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
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.

The vulnerability exists due to failure in the /file/do_the_upload script to 
properly sanitize user-supplied input in "tag_1" variable. 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. In file upload form 
insert into "Tag 1" field tag named like 
mytagname"><script>alert(document.cookie)</script> and upload it.
Solution: Upgrade to the most recent version