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, 56 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Nuke Methods 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
MarKeR
Nuke Cadet
Nuke Cadet


Joined: Jun 21, 2003
Posts: 3


PostPosted: Sun Jun 29, 2003 12:53 pm Reply with quoteBack to top

Looks like some Brazilian group has hacked www.nukemethods.com .
Find all posts by MarKeRView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 29, 2003 1:18 pm Reply with quoteBack to top

Most likely the site has been abandoned, they are still using 5.5 and i recall they were selling the name/site as a package awhile back.

_________________
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
ferrari4ever
Corporal
Corporal


Joined: May 30, 2003
Posts: 63

Location: The Netherlands

PostPosted: Sun Jun 29, 2003 1:30 pm Reply with quoteBack to top

this scares me... realy...

I've been hacked too,,, some weeks ago with nuke 6.0

but, how do they do that?

I mean,,, even if the admin.php is protected ? and only from fixed ip can be reached???


Last edited by ferrari4ever on Sun Jun 29, 2003 1:35 pm; edited 1 time in total
Find all posts by ferrari4everView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 29, 2003 1:34 pm Reply with quoteBack to top

As long as the News module has been patched the lame script being used for that will not work.

_________________
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
ferrari4ever
Corporal
Corporal


Joined: May 30, 2003
Posts: 63

Location: The Netherlands

PostPosted: Sun Jun 29, 2003 1:57 pm Reply with quoteBack to top

So, you wanna say that nuke6.7 is safe?

but, how do they do that stuff???

I just wondering....

how do they putt that code there.........
Find all posts by ferrari4everView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 29, 2003 2:05 pm Reply with quoteBack to top

Nuke 6.5 and up are safe from this particular hack, not wanting to say more than needed, they use a vulnerability in the News module's rating section to hack articles posted in the homepage.

_________________
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
ferrari4ever
Corporal
Corporal


Joined: May 30, 2003
Posts: 63

Location: The Netherlands

PostPosted: Sun Jun 29, 2003 2:23 pm Reply with quoteBack to top

So, if I remove the whole rating thing,,, would not have such as this attacks?
Find all posts by ferrari4everView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 29, 2003 2:31 pm Reply with quoteBack to top

No need to remove it, pre-6.5 versions can be patched, 6.5 and up already are.

_________________
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
Mickp
Corporal
Corporal


Joined: Mar 02, 2003
Posts: 53

Location: Australia

PostPosted: Sun Jun 29, 2003 4:49 pm Reply with quoteBack to top

where could I find this patch, my 5.6 site has just been attacked with many of the news on the front page being changed. I am currently trying to convert it to 6.5, but i have many many customised modules (just about all of them actually) and it is/will take lots more time. The patch would be good for a temp measure.

Many thanks in advance

Mick
Find all posts by MickpView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jun 29, 2003 4:54 pm Reply with quoteBack to top

Code:
File: /modules/News/index.php

Replace:

function rate_article($sid, $score) {
    global $prefix, $dbi, $ratecookie, $sitename, $r_options;
    if ($score) {
   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");
   title("$sitename: "._ARTICLERATING."");
   OpenTable();
   echo "<center>"._DIDNTRATE."<br><br>"
       .""._GOBACK."</center>";
   CloseTable();
   include("footer.php");
    }
}


With:

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");
        title("$sitename: "._ARTICLERATING."");
        OpenTable();
        echo "<center>"._DIDNTRATE."<br><br>"
            .""._GOBACK."</center>";
        CloseTable();
        include("footer.php");
    }
}

_________________
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
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Sun Jun 29, 2003 5:49 pm Reply with quoteBack to top

Nuke methods has been re-altered to piss off Brazilian hackerz. Warning, not recommended for under 18 or if your a politically correct/easily offended or just not capable of handling whats written to piss off Brazilian hackers to finally end this crap. Again, Under 18 NOT ALLOWED to visit.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
Mickp
Corporal
Corporal


Joined: Mar 02, 2003
Posts: 53

Location: Australia

PostPosted: Sun Jun 29, 2003 5:53 pm Reply with quoteBack to top

Many thanks, I will add this once I have restored the server, it now appears that the hard drive has crashed according to the owners, Sad so lots of work to do.
Find all posts by MickpView user's profileSend private messageVisit poster's website
ulissesnelson
Lieutenant
Lieutenant


Joined: Apr 09, 2003
Posts: 188


PostPosted: Wed Jul 02, 2003 9:26 am Reply with quoteBack to top

allevon wrote:
Nuke methods has been re-altered to piss off Brazilian hackerz. Warning, not recommended for under 18 or if your a politically correct/easily offended or just not capable of handling whats written to piss off Brazilian hackers to finally end this crap. Again, Under 18 NOT ALLOWED to visit.

Now you tell that?? ho my god my eyes,i need go to church Smile lol



Mickp Get a Sugestion from someone u hade a site Hacked(Changed)by the brazilian Kids UPGRATE the way the Nuke its today ,i can afirm that you ill have all your modules up in date and mucth more stuff Smile
Find all posts by ulissesnelsonView 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.309 Seconds - 351 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::