Vulnerability ID: HTB23061 Reference: https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_epesi_bim.html Product: epesi BIM Vendor: Telaxus LLC ( http://www.epesibim.com/ ) Vulnerable Version: 1.2.0-rev8154 and probably prior Tested Version: 1.2.0-rev8154 Vendor Notification: 30 November 2011 Vulnerability Type: XSS (Cross Site Scripting) Status: Fixed by Vendor 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 epesi BIM, which can be exploited to cross-site scripting attacks. 1) Input passed via the "dir_atual" GET parameter to /admin/phpfm.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website. The following PoC code is available: http://[host]/admin/phpfm.php?frame=3&dir_atual=%3Cscript%3Ealert%28123%29;%3C/script%3E 2) Input appended to the URL after /admin/themeup.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of an affected site The following PoC code is available: http://[host]/admin/themeup.php/%22%3E%3Cscript%3Ealert%28123%29;%3C/script%3E Successful exploitation of this vulnerabilities requires that Apache's directive "AcceptPathInfo" is set to "on" or "default" (default value is "default") 3) Input passed via the "msg" GET parameter to /admin/wfb.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website. The following PoC code is available: http://[host]/admin/wfb.php?msg=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E Solution: Upgrade to 1.2.2 or later version http://forum.epesibim.com/viewtopic.php?f=6&t=751 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.