View Full Version : User Title Exploit
Most of us who know php know how to exploit the usertitle, well the code to allow html even if specified not to.
Im just wondering if theres ANYTHING i can do to stop it being exploited. I was talking over a mate how to do it and its got passed on :ermm: it wont get passed on anymore coz. i know he'll keep it to himself. Just what do i do if it does. LOL
filburt1
05-16-2003, 11:33 PM
Just don't allow anybody to use custom titles.
fairy snuff. But for a few reasons on my boards i prefer them to. Anyway to stop it.
filburt1
05-16-2003, 11:40 PM
To my knowledge, stock vB doesn't allow it. Make sure you don't have any hacks that break user titles. :)
filburt1
05-16-2003, 11:56 PM
Unhacked vB.
is it ok to email u the code....? i mean as i dont want to release it.
Tigga
05-17-2003, 02:20 PM
Wow... Never knew vBulletin had a small exploit there. Apparently it does work with a stock vBulletin as well. It wasn't hard to fix though. If you just look in your member.php file for addslashes($customtext) and replace that with addslashes(htmlspecialchars($customtext)) it should fix the problem. :)
filburt1
05-17-2003, 03:16 PM
On my board there was no problem and to my knowledge still isn't one. One member used a status of <?= mod ?> (or thereabouts) which would normally be parsed as HTML to most browsers (it would appear as nothing). However you saw the actual text instead.
Tigga
05-17-2003, 08:07 PM
Yea, it doesn't seem to work for PHP code. It does for HTML though which could still be abused.
filburt1
05-17-2003, 08:16 PM
It didn't for me. Make sure you're trying it as a nonadministrator.
Gary King
05-19-2003, 01:38 AM
Doesn't parse PHP or HTML code for me as well.
Make sure you're running the latest version of vB as well, just in case.
Tigga
05-20-2003, 02:35 PM
Ahhh, the turtle is right again. :D HTML code worked when I tried it as an admin, but not as a regular user.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.