NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page My phpbb forum got hacked???

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search
1 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 03-10-2007, 11:48 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Oct 2006
Posts: 848
krishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud of
 


Cancer

My phpbb forum got hacked???


My forum was working fine as usual until I tried to login to my administration panel today.

I found some strange things going on. It started redirecting... (within my domain)
a blank page with 40 to 50 random characters like "sdafafjlfllahjllhlhjlj"

Suddenly it displayed

"Page can not be displayed. IE only. Add site to Trusted zone.
Internet Options/Security/Trusted sites/Sites/switch off https/Add
Please download help file - help.zip"

At the first instance I thought my browser (firefox) is being hijacked. Later I tried with Opera, but to my surprise I saw the same result.

I logged into my ftp account and found in the "admin folder" some irrelevant files such as "a.asp", "a.php" "help.zip (which contains .hta file), "a.pl".
????: NamePros.com http://www.namepros.com/website-development/303601-my-phpbb-forum-got-hacked.html

index.php and .hta files have some kind of javascript. (see in txt format)

I have entirely deleted the admin folder and replaced with the genuine one.
Also changed my ftp, hosting and domain control password. Should I need to do something more. (plz. dont suggest to change from phpbb, lol.........)
Attached Files
File Type: txt index-php.txt (87.4 KB, 10 views)
__________________
SEO Directory | My Computer is slow | Travel
krishmk is offline  
Old 03-11-2007, 03:09 AM   #2 (permalink)
Senior Member
 
Crusader's Avatar
Join Date: Aug 2003
Location: Canada
Posts: 1,257
Crusader is just really niceCrusader is just really niceCrusader is just really niceCrusader is just really nice
 



Do you update phpBB?
Crusader is offline  
Old 03-11-2007, 04:22 AM   #3 (permalink)
Domains my Dominion
 
sdsinc's Avatar
Join Date: Aug 2005
Location: Web 1.0
Posts: 9,963
sdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatness
 


Third World Education Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Animal Rescue Animal Cruelty AIDS/HIV Animal Rescue Wildlife Breast Cancer Animal Rescue Wildlife
phpbb has a history of hacks... if you want to stick with it you need to make sure your version is always up to date.
I would suggest downloading the latest release and starting anew with a fresh install.
Good thing that you changed all your passwords.
If you have a backup of the DB check the user table thoroughly: it's possible that the hacker has left a ghost administrator account in it so he can come back later and do some malevolent stuff like access your admin panel or download your DB
__________________
NameNewsletter.com - free lists of available domain names
ZoneFiles.net (beta) - ccTLD and gTLD droplists
sdsinc is offline  
Old 03-11-2007, 05:17 AM   #4 (permalink)
NamePros Member
Join Date: Jun 2006
Posts: 195
tanfwc is an unknown quantity at this point
 



First thing you need to do is to backup your backup. Delete all your current phpBB files from your web server.

Then restore and reconnect back your phpBB. Login to your phpMyAdmin and execute this query to check is there any other admin created on your forum by the hacker.
????: NamePros.com http://www.namepros.com/showthread.php?t=303601

Quote:
SELECT * FROM `phpbb_users` WHERE `user_rank`=2
Good Luck!
tanfwc is offline  
Old 03-11-2007, 06:11 AM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Oct 2006
Posts: 848
krishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud of
 


Cancer

hi


Hi, thanks for your advice.

I checked the tables in the database ("php_users")
I dont find a user rank= 2, but I do see a row for anonymous user (user id = -1).

Is this normal, or should I delete this?
__________________
SEO Directory | My Computer is slow | Travel
krishmk is offline  
Old 03-11-2007, 06:19 AM   #6 (permalink)
NamePros Regular
Join Date: Sep 2006
Location: Germany
Posts: 387
McDot is a jewel in the roughMcDot is a jewel in the roughMcDot is a jewel in the rough
 



I would say your server was hacked and not phpBB.
A phpBB hack would not write files into the admin folder, unless your server allows it.

Keep your phpBB up to date.
Keep your server safe.
Make sure your passwords are safe.
__________________
My Domain Blog - German Webdesign Forum
Spanish Domaincenter: Villa Dominio
Domains for sale: SoSay.com - SocialLinkbuilding.com - SEOTechnician.com - Favorizer.com
Spanish Domains: Aspiradoras.es - Tarantula.es - Chikas.es - Buey.es - Besitos.es
McDot is offline  
Old 03-11-2007, 06:27 AM   #7 (permalink)
NamePros Member
Join Date: Jun 2006
Posts: 195
tanfwc is an unknown quantity at this point
 



Originally Posted by krishmk
Hi, thanks for your advice.
????: NamePros.com http://www.namepros.com/showthread.php?t=303601

I checked the tables in the database ("php_users")
I dont find a user rank= 2, but I do see a row for anonymous user (user id = -1).

Is this normal, or should I delete this?
Don't delete that. It is require for phpBB to operate for guest.

Run the query, don't locate manually.

Btw, you should have one user that have rank 2 if not how do you login as admin ?
tanfwc is offline  
Old 03-11-2007, 06:35 AM THREAD STARTER               #8 (permalink)
NamePros Regular
Join Date: Oct 2006
Posts: 848
krishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud ofkrishmk has much to be proud of
 


Cancer

It seems to be a server hack


Oops, I think you are right. It seems to be a server hack.

I find these files in almost all of my folders. (shared hosting)

a.asp
a.php
a.pl
help.zip (.hta file)

BTW, for admin, it shows user rank as 1
__________________
SEO Directory | My Computer is slow | Travel
Last edited by krishmk; 03-11-2007 at 06:46 AM.
krishmk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 11:01 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger