Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Anyone can read all XOOPS private messages

Anyone can read all XOOPS private messages

by Nikola Strahija on December 13th, 2002 As most part of PHP CMS, XOOPS allows users to send and receive Private Messages (PMs), that are saved on the DataBase. It was found how all messages are readable.


Product : XOOPS
Version : RC3 (tested)
File : /pmlite.php


Bug :
if ($reply == 1) {
$pm = new XoopsPM($msg_id);
$pm_uname = XoopsUser::getUnameFromId($pm->getVar
("from_userid"));
$replytext = "[quote]n";
$replytext .= sprintf(_PM_USERWROTE,$pm_uname);
$replytext .= "n".$pm->getVar("msg_text", "E")."n
[/quote]";



Solution :
A patched file is available on www.phpsecure.org :
http://www.phpsecure.org/index.php?zone=pPatchA&sAlpha=x




patch :
ligne 76 : if($pm->getVar("to_userid") != $xoopsUser->getVar
("uid"))
ligne 77 : die("Désolé, c'est patché :)

href="http://www.phpsecure.org">phpSecure();";);


By valdeux
Publiacted on december, 13th 2002



Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »