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, 66 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 - Website hacked.... [ ]
 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
NukeStyles
Nuke Soldier
Nuke Soldier


Joined: Feb 10, 2003
Posts: 20

Location: USA

PostPosted: Fri Mar 28, 2003 12:46 pm Reply with quoteBack to top

Can I get some help guys?? My site was just hacked, and it's pissing me off... someone submmitted a article, and went ahead and added it right through my admin... I was at my fathers funeral all day, got home, and this crap... Some little kid hacks my site. No damage done, but just the fact he had control of my admin is really annoying.

I'm using nuke 6.0, deleted the viewpage file, and have applied all the current security fixes... now what?????????? What else is there??

I can give you guys my files or whatever to see if you can figure it out, but I have applied everything I know of, and it still happened.

Help! Crying or Very sad

Shawn
Find all posts by NukeStylesView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Mar 28, 2003 12:49 pm Reply with quoteBack to top

something similar happend to my site, but I'd like to assure you that they didn't do it through ur admin panel.

There's a security hole in nuke somewhere (that's been plugged now btw) that allows ppl to post articles streight to the site using an SQL injection.

Chatserv posted the fix somewhere if you'd care to look. (I can't remember it off hand, but there is a download if you were running nuke 6.5 not 6.0

AI
Find all posts by ArtificialIntelView user's profileSend private message
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Fri Mar 28, 2003 1:04 pm Reply with quoteBack to top

chatserv posted the 6.0 patch in this thread at phpnuke.org
http://phpnuke.org/modules.php?name=Forums&file=viewtopic&t=5408&postdays=0&postorder=asc&start=15

Shawn did you miss this one somehow??? Otherwise as I posted the other day I did see some hacktivity from a poo.php but whatever it was failed on my site. (Wish I had grabbed the script but I was in the middle of doing something when I noticed it) Might check your refers and logs see if that filename comes up or haha.php.

_________________
www.netflake.com
www.glowoptics.com
Find all posts by sixonetonoffunView user's profileSend private message
NukeStyles
Nuke Soldier
Nuke Soldier


Joined: Feb 10, 2003
Posts: 20

Location: USA

PostPosted: Sat Mar 29, 2003 9:07 am Reply with quoteBack to top

Well, I applied that patch, and still got hacked yet again. Some war protesting Rainbow Brite...

They seem to be going right into my news, and adding whatever they want. Changing articles, and whatever. WTF.

I applied the score codes, that patches the security hole in the rate article... is there other changes in the index.php file that I need to know about? I use a heavily modified index file, and don't just want to overwrite it...

Maybe I'll just overwrite the damn file, if there is other fixes in it... but I looked through the code and didn't see anything.

Just really irratating that some freaking little kids got to do this crap. But just letting everyone know, that if the score codes were all that was included for the patch, it ain't working to well.. because they get my site everyday it seems like.

Shawn
Find all posts by NukeStylesView user's profileSend private messageVisit poster's website
NukeStyles
Nuke Soldier
Nuke Soldier


Joined: Feb 10, 2003
Posts: 20

Location: USA

PostPosted: Sat Mar 29, 2003 9:28 am Reply with quoteBack to top

And, anyone know of this site???? I'm posted there, but it's in different language... I'm not sure if it's a hack site or what, and they are bragging what sites they hack...

http://www.delta5.com.br/mirror/

I'm close to the damn top.. figures.

Just letting someone know... Irratating jerks.

Shawn
Find all posts by NukeStylesView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Mar 29, 2003 9:47 am Reply with quoteBack to top

those lying gits.

They're taking credit for other ppls work. How do I Know??? cause I know quite a few ppl in the hacking community and the some of the people who really did hack most of those sites have already been "dealt with"

AI
Find all posts by ArtificialIntelView user's profileSend private message
NukeStyles
Nuke Soldier
Nuke Soldier


Joined: Feb 10, 2003
Posts: 20

Location: USA

PostPosted: Sat Mar 29, 2003 1:07 pm Reply with quoteBack to top

I just got it AGAIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Damnit, what the HELL can I do???

I feel like FB, just closing the shop until something is done... total Rainbow Brite. I busted my Rainbow Brite building my site, and to have some stupid jerk keep up this bull is ridiculous...
Find all posts by NukeStylesView user's profileSend private messageVisit poster's website
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Sat Mar 29, 2003 1:18 pm Reply with quoteBack to top

Bunch of bottom feeders. The thread got posted to Bugtraq I noticed. That didn't likely help much. Now not only the skiipt KidDies are focusing in on you the real bangers are likely to get interested.

_________________
www.netflake.com
www.glowoptics.com
Find all posts by sixonetonoffunView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Mar 29, 2003 10:18 pm Reply with quoteBack to top

NukeStyles can you post your rate article function?

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Mar 30, 2003 5:21 am Reply with quoteBack to top

I have traced the kids using the poo.php script to a team of wannabe hackers that are part of an irc spamming/flooding/DoS attackers/LitMus bot users team caller Cyber-Army, their email is pc@cyber-army.net, the script is being run from http://24.161.20.47/php/php.exe/pc/pizhp/poo.php and they have a site for distribution of litmus bot (highly illegal) at http://24.161.20.47/pc/index2.php i will relay this info to Allevon.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Sun Mar 30, 2003 5:29 am Reply with quoteBack to top

Nice find Chatserv, ill be looking closely at that site.... dont be surprised if its not there later on today
Find all posts by Daniel-cmwView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Mar 30, 2003 6:08 am Reply with quoteBack to top

uwwww. I know who our next target is gonna be now Wink Don't be surprised if that site goes offline very very soon.

AI
Find all posts by ArtificialIntelView user's profileSend private message
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Sun Mar 30, 2003 6:12 am Reply with quoteBack to top

Its already down Very Happy Laughing
Find all posts by Daniel-cmwView user's profileSend private message
NukeStyles
Nuke Soldier
Nuke Soldier


Joined: Feb 10, 2003
Posts: 20

Location: USA

PostPosted: Sun Mar 30, 2003 7:18 am Reply with quoteBack to top

OK... This is my rate function... I applied the score codes, and I still got hacked 2 times after that...

Some of my own codes are in there, but they don't effect anything for the function...


Code:
function rate_article($sid, $score) {
    global $prefix, $dbi, $ratecookie, $sitename, $r_options;
    $score = intval($score);
    if ($score) {
   if ($score > 5) { $score = 5; }
   if ($score < 1) { $score = 1; }
   if ($score != 1 AND $score != 2 AND $score != 3 AND $score != 4 AND $score != 5) {
       Header("Location: index.php");
       die();
   }
   if (isset($ratecookie)) {
       $rcookie = base64_decode($ratecookie);
       $r_cookie = explode(":", $rcookie);
   }
   for ($i=0; $i < sizeof($r_cookie); $i++) {
       if ($r_cookie[$i] == $sid) {
      $a = 1;
       }
   }
   if ($a == 1) {
       Header("Location: modules.php?name=News&op=rate_complete&sid=$sid&rated=1");
   } else {
       $result = sql_query("update ".$prefix."_stories set score=score+$score, ratings=ratings+1 where sid='$sid'", $dbi);
       $info = base64_encode("$rcookie$sid:");
       setcookie("ratecookie","$info",time()+3600);
       Header("Location: modules.php?name=News&op=rate_complete&sid=$sid$r_options");
   }
    } else {
   include("header.php");
   ns_mod_title();
   OpenTable();
   echo "<br>";
   OpenTable2();
   echo "<center>"._DIDNTRATE."<br><br>"
       .""._GOBACK."</center>";
   CloseTable2();
   echo "<br>";
   CloseTable();
   ns_link_bar();
   include("footer.php");
    }
}



Did I miss something in this function???? Actually, I hope I did miss something... that explains why I'm still getting hacked... If I didn't, then something is definatly screwed...

Again, thx for the big help.

Shawn
Find all posts by NukeStylesView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Mar 30, 2003 9:15 am Reply with quoteBack to top

I have yet to see what a so called "poo.php" script being used has in its code, i do know i tested the previous haha.php and couldn't change anything in the site's articles, so i'd have to assume we are dealing with a different form of SQL injection, i'll see if i can find what this attack is and what method it uses to access the database.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
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.935 Seconds - 211 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::