[General] [Fwd: Re: SMF "index.php?action=pm" Cross Site-Scripting]

Bashar Al-Abdulhadi bashar at kuwaitnet.net
Tue Jan 23 09:07:26 +03 2007


FYI&A


-------- Original Message --------
Subject: 	Re: SMF "index.php?action=pm" Cross Site-Scripting
Date: 	21 Jan 2007 18:40:09 -0000
From: 	lfx4sodas at gmail.com
To: 	bugtraq at securityfocus.com



SMF 1.1.1 is vulnerabil too.

solution ->
In file PersonalMessage.php change 1417 and 1418 lines adding htmlspecialchars()
like this ->

	$_REQUEST['to'] = empty($_POST['to']) ? (empty($_GET['to']) ? '' : $_GET['to']) : htmlspecialchars(stripslashes($_POST['to']));
	$_REQUEST['bcc'] = empty($_POST['bcc']) ? (empty($_GET['bcc']) ? '' : $_GET['bcc']) : htmlspecialchars(stripslashes($_POST['bcc']));


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oskw.org/pipermail/general_oskw.org/attachments/20070123/df49bd37/attachment.html>


More information about the General mailing list