Forum Moderators: phranque
You already avoided mistake #1, not making a backup, so it's not that bad.
You'll want to check with your hoster that nothing else was done, if it was just defaced, nothing else probably happened, but you never know.
Change your hoster account access password, make sure to make it a real password: r4G2jJ9q for example, not something 'easy to remember'. Change your admin password, make sure no new user accounts were added with mod or admin privileges, if they were, delete them.
Thank you for the reply and encouragement.
I can restore the system at any time. My concern is how much access will the hacker have to the rest of the site and if I should expect a breach on a regular basis since now they have a hidden key to get in somewhere.
Has anyone here had a similar hacking experience?
Before going back online with them, you'll need to update everything, first restore the db, then do the update to the phpbb if you were running an older version.
If you are running 2.0.17 and they still got in, you should report it on phpbb.com forums immediately.
Assume the worst, make sure on your hosting account no new accounts or users were added as well. Change your hoster password now.
Go through all the recent new users and make sure none of them have escalated forum user privileges.
If you're using anything like jpg/gif uploading, get rid of it right away, until you figure out what the problem is.
If you were running an older phpbb version, less than 2.0.17, don't ever slack on updating the stuff, update it the day the patch is released if you can.
There's no big danger in that case, just put in your backup db, then update the forum software to the latest version, that should probably cover you fine.
Once you've done that, make sure to check the recent new users like I said, they could have cracked this a while ago, it's hard to say for sure.
As mentioned by keyplyr it is a very good idea to remove the version info as this makes it easy to find the vulnerable versions using SEs.
Will post more if i have more info.
The Automated phpbb installation generates a generic (non-random)default user name and hopefully random password.
I think that the hacker has figured out the username and probably used some algo to figure out the short password that is generated.
I renamed the database, user name and password to long random strings and updated this info in config.php
I believe this measure should prevent future hacks. We will see.:)
No problems so far.
The latest version does not have the version number in the footer, but has copyright dates.
I wonder if it is against the TOS to modify these entries without removing the name and the link of course.