Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
triple7
Hangin' Around



Joined: Jul 28, 2008
Posts: 25

PostPosted: Mon Mar 23, 2009 8:17 pm Reply with quote

It is now forwarding to [ Only registered users can see links on this board! Get registered or login! ]

I have no idea of how the achieved this hack, I see no updated files, only updated direcotires.

I have replced my index.php and my mainfile.php and also the WHOISWHERE directory in modules (and the corresponding Table)

Can anyone lend some insight?

Thanks


Last edited by triple7 on Tue Mar 31, 2009 7:45 am; edited 1 time in total 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Mar 23, 2009 8:23 pm Reply with quote

It looks like your hosting company suspended your account.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
triple7







PostPosted: Mon Mar 23, 2009 8:38 pm Reply with quote

nuken wrote:
It looks like your hosting company suspended your account.


No, the host is 1and1.com

They have not suspended our account, that is just a redirect to that suspended page.
 
nuken







PostPosted: Mon Mar 23, 2009 9:01 pm Reply with quote

Have you looked in your CPanel or what ever control panel 1and1 uses to see if a foward has been put in?
 
triple7







PostPosted: Mon Mar 23, 2009 9:09 pm Reply with quote

nuken wrote:
Have you looked in your CPanel or what ever control panel 1and1 uses to see if a foward has been put in?


It hasn't, it's definately one of the includes or something.

I re-created an index.php with just phpinfo (); in it, and it comes up when we go to our URL.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Mar 23, 2009 10:24 pm Reply with quote

And your site URL is? (We need to see whether its a Javascript or a server-level redirect)

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
triple7







PostPosted: Tue Mar 24, 2009 5:42 am Reply with quote

evaders99 wrote:
And your site URL is? (We need to see whether its a Javascript or a server-level redirect)






Additionally, the person shelled in, and left this in .bash_history:

cat * | grep freedom.highqualityhost.net
cat *.php | grep freedom.highqualityhost.net
dir
ls -al
more .htaccess
ls -al
cd esaw
dir
cd sigs/
ls
cd ..
ls -al
more .htaccess
cd ..
ls
dir
vi index.php
vi -o index.php mainfile.php
vi modules/RWS_WhoIsWhere/includes/RWS_wiw.inc.php




And this in file called viminfo:

# This viminfo file was generated by Vim 7.0.
# You may edit it if you're careful!

# Value of 'encoding' when this file was written
*encoding=latin1


# hlsearch on (H) or off (h):
~H
# Command Line History (newest to oldest):
:q!

# Search String History (newest to oldest):

# Expression History (newest to oldest):

# Input Line History (newest to oldest):

# Input Line History (newest to oldest):

# Registers:

# File marks:
'0 81 0 ~/modules/RWS_WhoIsWhere/includes/RWS_wiw.inc.php
'1 179 0 ~/mainfile.php
'2 29 48 ~/index.php

# Jumplist (newest first):
-' 81 0 ~/modules/RWS_WhoIsWhere/includes/RWS_wiw.inc.php
-' 1 0 ~/modules/RWS_WhoIsWhere/includes/RWS_wiw.inc.php
-' 179 0 ~/mainfile.php
-' 29 48 ~/index.php
-' 1 0 ~/index.php
-' 179 0 ~/mainfile.php
-' 29 48 ~/index.php
-' 1 0 ~/index.php

# History of marks within files (newest to oldest):

> ~/modules/RWS_WhoIsWhere/includes/RWS_wiw.inc.php
" 81 0

> ~/index.php
" 44 0

> ~/mainfile.php
" 179 0


Last edited by triple7 on Tue Mar 31, 2009 8:06 am; edited 1 time in total 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Mar 24, 2009 6:38 am Reply with quote

If you are using RN 2.20.00 you should really upgrade, or at least patch the files. There was a security annoucement recently and this needs to be addressed ASAP!

I would wipe your site and upload a backup of your database and files. Then you can patch the files.
 
View user's profile Send private message
evaders99







PostPosted: Tue Mar 24, 2009 7:16 pm Reply with quote

It does seem to be a server-level redirect. I would suggest do thorough cleaning, ask your host to format their server, rebuild from clean files.
 
triple7







PostPosted: Tue Mar 24, 2009 7:48 pm Reply with quote

evaders99 wrote:
It does seem to be a server-level redirect. I would suggest do thorough cleaning, ask your host to format their server, rebuild from clean files.



Yeah, we're getting our latest backup from the host currently, and we'll update to 2.3

I have a question, does ravennuke run on PHP5?

Also, thanks all for your responses.
 
jakec







PostPosted: Wed Mar 25, 2009 12:57 am Reply with quote

Yes RN does run on php5. Very Happy
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Mar 25, 2009 9:25 am Reply with quote

But that is not a guarantee that what you ADD to it does... just keep that in mind. The core distro works just fine on PHP5.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
triple7







PostPosted: Mon Mar 30, 2009 7:43 am Reply with quote

OK, just an update:

The good news:

Our site was NOT hacked.

The bad news:

I feel like a giant jackass. Smile

OK, so here's the real scoop. We had apparently been using a theme we bought from [ Only registered users can see links on this board! Get registered or login! ]
AT the time of loading, the script goes through an authentication process making a call to, you guessed it, [ Only registered users can see links on this board! Get registered or login! ] Uh, go ahead and click that link, and you'll see where the problem arose.

There had been a perfect storm of coincidences, which led to our site being down for 4 days, our host threating us with a TOS violation, and many, many angry hours spent on hold with our host (in the attempt to get a backup)

Anyway, just in case anyone else may be using a theme from those guys, and has the same issue, I figured that I'd post the answer and save them the headache.
 
montego







PostPosted: Tue Mar 31, 2009 6:43 am Reply with quote

Bang Head

I am sure you are glad to have that one behind you.

EDIT: Please update your thread title to something other than the "hacked" part as it leaves a false impression. Wink Thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©