Nasty bug in messages_inbox.php allowing reading of any message on the site.
messages_inbox.php
replace withCode:$message_sql= "SELECT m.`Text`, m.`Subject`, DATE_FORMAT( m.`Date`, '$short_date_format' ) AS `Date`, p.Status FROM `Messages` AS m LEFT JOIN Profiles AS p ON m.Sender = p.ID WHERE m.`ID` = '$messageID'";// AND`Sender` = '$senderID'";
This bug is in 6.0.0, 6.0.1, 6.0.2 and CLEAN 6.0.1Code:$message_sql= "SELECT m.`Text`, m.`Subject`, DATE_FORMAT( m.`Date`, '$short_date_format' ) AS `Date`, p.Status FROM `Messages` AS m LEFT JOIN Profiles AS p ON m.Sender = p.ID WHERE m.`ID` = '$messageID' AND `Recipient` = '$memberID'";
I assume BoonEx will apply the fix to 6.0.3 - but in any case, we will apply it to our CLEAN projects.
Rob


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks