my site hacked.
i found problem and i solved.
problem with skoutbox.
you have to close shoutbox from block.
Could you provide us with further details?
i can give info just othority. because this info should be secret.
OK. Got ya. :-X
:)
sorry. i sent an PM to Bloc.
may be they will a patch for this.
I hope so. :)
So can anyone tell use is this going to be fixed or was it just a problem with their site?
Ok I provided a quick fix here (http://www.simplemachines.org/community/index.php?topic=69644.msg550190#msg550190).
It was not a problem on their site. My site was hacked too.
How could that big of a security hole be left wide open in TP?!
Sometimes things happen. Bloc is a great code though. I would expect this to be fixed on TP .9 :) Remember things happen specially on something as big as TP.
Well I think there should be some sort of patch that should be installed. I know people who dont know alot of coding will just turn a blind eye on the subject.
Quote from: JayBachatero on April 18, 2006, 11:56:17 PM
Ok I provided a quick fix here (http://www.simplemachines.org/community/index.php?topic=69644.msg550190#msg550190).
It was not a problem on their site. My site was hacked too.
So Jay,
we should really edit all the file in TPortal in your quick fix..is this something that Needs to be done without Bloc's own approval??
If you look at the changes it's small changes. I'll PM you with more details.
Quote from: JayBachatero in SMF site
Ok here is a quick fix. This add slashes to apostrophes and removes any html tags from $_POST var.
In TPmodules.php
$shout=strip_tags(substr($_POST['tp-shout'],0,300),'<b><u><i>');
$_POST = addslashes__recursive($_POST);
$shout = substr($_POST['tp-shout'],0,300);
$shout = strip_tags($shout);
$_POST['tp-shout-name'] = strip_tags($_POST['tp-shout-name']);
In TPortal.php
$shouts='Last '.$limit.' shouts:<hr />';
while($row = mysql_fetch_assoc($request)){
$shouts='Last '.$limit.' shouts:<hr />';
while($row = mysql_fetch_assoc($request)){
$row = stripslashes__recursive($row);
In TPortalAdmin.php
if(mysql_num_rows($request)>0){
while ($row = mysql_fetch_assoc($request))
{
if(mysql_num_rows($request)>0){
while ($row = mysql_fetch_assoc($request))
{
$row = stripslashes__recursive($row);
Thanks, I tried ;)
That is for the shoutbox only. It might be good to check any other place too just to be on the safe side.
I will send out notice of an update to 0.86 asap.
In the meantime, just try out Jay's code. I need to check it out and setup a update package.
Jay, the link: http://www.kevmundial.com/board/index.php?action=googlemap can't operationÃ, ???
Bloc I'll post a packaged version of this fix in a few mins. elpvn are you using IE or FF?
Quote from: JayBachatero on April 19, 2006, 01:27:29 AM
Bloc I'll post a packaged version of this fix in a few mins.Ã, elpvn are you using IE or FF?
Thank for up to update the fixed.
I using IE6 browserÃ, :)
@elpvn - Umm I still haven't applied the fix for the Google Map to work on IE6. TLM provided a fix but forgot all about it :-\.
Here is a packaged fix. I tried it on my site and it worked. If anything just let me know.
Bloc just posted the fix for this here: http://www.tinyportal.net/smf/index.php?topic=4440.0
So if we dont show the shoutbox will we be ok?
Yes you should be on if you have the shoutbox disabled. Just to be on the safe side apply the patch.
It is/was only active when you allow guests shouting. Thats also why I missed that hole - its some code I haven't looked at for some while.
I don't allow guests to shout (it was getting spammed). The person registered as exploit and exploited my forum.
So he registered and still managed to post a message which re-directed the site?
Yea he registered and posted the redirect. Same happened to agridocs site. That's when I found out about my site.
Same thing happened to me. I
They registered as ertan... His IP is 85.106.142.123
Host name: dsl85-106-36475.ttnet.net.tr