lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20080321203621.3640.qmail@securityfocus.com> Date: 21 Mar 2008 20:36:21 -0000 From: vermsky@...omoddinguk.info To: bugtraq@...urityfocus.com Subject: Re: Simple Machines Forum "SMF Shoutbox" Mod Persistent XSS Here's the solution: After you have installed the shoutbox please modify the file sboxDB.php. Please search for Code: Code: [Select] // handle special characters $content = addslashes($piph . $content); and replace this with Code: Code: [Select] // handle special characters $content = addslashes($piph . $content); // enquote html and script code to avoid html/javascript injection $content = htmlentities($content, ENT_QUOTES);