[MajorSecurity Advisory #37]HolaCMS - Cross Site Scripting Issue Details ======= Product: holaCMS-1.4.10 Security-Risk: moderated Remote-Exploit: yes Vendor-URL: http://www.hola.com/ Vendor-Status: informed Advisory-Status: published
Credits ============ Discovered by: David Vieira-Kurz http://www.majorsecurity.de Original Advisory: ============ http://www.majorsecurity.de/index_2.php?major_rls=major_rls37 Introduction ============ HolaCMS is a Content Management System. More Details ============ Cross Site Scripting: Input passed directly to the "acuparam" parameter in "index_cms.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 an affected site. Workaround ============= Edit the source code to ensure that input is properly sanitised. You should work with "htmlspecialchars()" or "htmlentities()" php-function to ensure that html tags are not going to be executed. Example: $pass = htmlentities($_POST['pass']); $test = htmlspecialchars($_GET('test')); ?> History/Timeline ================ 24.03.2007 discovery of the vulnerability 25.03.2007 additional tests with other versions 25.04.2007 contacted the vendor 02.04.2007 advisory is written 03.04.2007 advisory released MajorSecurity ======= MajorSecurity is a German penetration testing and security research project which consists of only one person at the present time. Currently looking for a site sponsor. http://www.majorsecurity.de/