############################################################# Woltlab Burning Board 2.3.X "register.php" XSS Vulnerability ############################################################# [==- Release Status -==] Released (30.11.2006) [==- Vendor Status -==] The vendor hasn't been contacted yet. [==- Found by: -==] 666 [www.SR-Crew.org] [==- Vulnerability: -==] ((( register.php | Near line 162 ))) ------------------------------------------ if (isset($_POST['r_dateformat'])) $r_dateformat = wbb_trim($_POST['r_dateformat']); ------------------------------------------ The variable "$r_dateformat" isn't filtered. [==- Bugfix: -==] ((( Search ))) ------------------------------------------ if (isset($_POST['r_dateformat'])) $r_dateformat = wbb_trim($_POST['r_dateformat']);[/php] ------------------------------------------ ((( Replace with ))) ------------------------------------------ if (isset($_POST['r_dateformat'])) $r_dateformat = wbb_trim($_POST['r_dateformat']); $r_dateformat = htmlspecialchars($r_dateformat); $r_dateformat = str_replace("script","",$r_dateformat); ------------------------------------------ [==- Example Exploit (using cURL) -==] ------------------------------------------ ------------------------------------------ // 666 -- blueshisha [at] safe-mail [dot] net [====== EOF ======]