NOTICE: RocketTheme will be releasing templates for Joomla! 1.5 only starting January 2009. Read the thread…
RocketTheme  |  General  |  The Water Cooler  |  Topic: Has anyone here had their joomla site hacked? « previous next »
Pages: [1] Go Down Print
Author Topic: Has anyone here had their joomla site hacked?  (Read 4285 times)
William E Dooley
Professional
Hero Rocketteer
*
Offline Offline

Posts: 599


Has anyone here had their joomla site hacked?
« on: March 13, 2007, 09:09:21 AM »

I got up this morning and logged on to my site to try and finish up a few loose ends so that I can officially launch it this weekend. I was greeted ba a "you have been hacked" page, not a good start of the day! I had a very similair attack a few months back, but it was on a site that I had installed joomla on and that was about it, it had a fresh install, no actual work had been done on the site, so I emptied the ftp directory, reinstalled joomla and didn't think about it again until this morning. I was a little panicked this morning, but then I realized that no damage had really been done, they replaced the index.php page and added an index.html page, and that was it. Luckily it was the joomla root directory index.php file and not my template one that I had highly customized. So all I had to do was delete the index.html file and replace the index.php file with the one in the joomla install folder. Question is, how to stop this from happening again? Anyone had this happen to them? I noticed when I did a google search for the name of the group that was on my front page, there were a few results coming from the joomla forums, but noone really seemed to have a solution to stopping it from happening. There was also a url on the page that the hackers put up on my site, so I went there, and it had a list of the sites they had hacked. There were over 300 sites listed as being hacked today, march 13th 2007 alone. The name of the group is DENGESIZ TEAM, and the site url on the page was http://www.dengesiz-team.org

Anyways, has anyone here had this problem and know what the actually vulnerability is?

Thanks,
David Henderson
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 40634


Firebug...Firebug...Firebug!

WWW
Re: Has anyone here had their joomla site hacked?
« Reply #1 on: March 13, 2007, 09:11:32 AM »

You will find that these are silly little kids who have download a script! It did not happen to mine but to a friends.

Luckily, I backup everything

Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
William E Dooley
Professional
Hero Rocketteer
*
Offline Offline

Posts: 599


Re: Has anyone here had their joomla site hacked?
« Reply #2 on: March 13, 2007, 09:31:51 AM »

I assumed as much, since they seem to be doing thousands of sitees a day, it must be a script. But does anyone know the vulnerability they are using so that we can prevent it?
Logged
Matthew
Professional
Hero Rocketteer
*
Offline Offline

Posts: 299


Re: Has anyone here had their joomla site hacked?
« Reply #3 on: March 13, 2007, 09:32:59 AM »

A live (regardless of whether or not it has been launched) site should never be the only copy you have!

Servers crash, ISP backups are unreliable, and yes, sites get hacked.

If at all possible, develop a site on a local server (there are some decent standalone Joomla! servers). Failing that, use a development environment that lets you synchronize between the site and your system by FTP.

After a site has been launched, it should be backed up periodically, especially after major content updates.

Finally, check file permissions!

The most common path of attack goes like this:

1. You are on a shared hosting server.
2. Someone else on the server is running a script with a security hole, a week password, etc., and their account gets hacked.
3. Once they have access to any account on your shared server, they are able to access files/directories with a chmod of 777, and hack your site.

HTH
Logged

Roland Deschain
RT Gunslinger
Global Moderator
Hero Rocketteer
*
Offline Offline

Posts: 3766


Rok My World!

WWW
Re: Has anyone here had their joomla site hacked?
« Reply #4 on: March 13, 2007, 09:39:44 AM »

If they uploaded an index.html page, wouldn't that mean that they have access to the server (username/ password)?If that were the case, I'd be a tad nervous.

It would be a biatch if these "hackers" (and I use that term loosely) site got hacked... just sayin', not suggesting...

Sorry to hear about this William.
Logged

"The man in black fled across the desert, and the gunslinger followed."
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 40634


Firebug...Firebug...Firebug!

WWW
Re: Has anyone here had their joomla site hacked?
« Reply #5 on: March 13, 2007, 10:26:47 AM »


3. Once they have access to any account on your shared server, they are able to access files/directories with a chmod of 777, and hack your site.


All mine are 755 - does that make it safer  Huh
« Last Edit: March 13, 2007, 11:02:41 AM by James S » Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Matthew
Professional
Hero Rocketteer
*
Offline Offline

Posts: 299


Re: Has anyone here had their joomla site hacked?
« Reply #6 on: March 13, 2007, 10:54:59 AM »

If they uploaded an index.html page, wouldn't that mean that they have access to the server (username/ password)?If that were the case, I'd be a tad nervous.

It would be a biatch if these "hackers" (and I use that term loosely) site got hacked... just sayin', not suggesting...

Sorry to hear about this William.

It depends on how the server is set up, and what the permissions are set to, but there are a number of scenarios in which they don't need the password to do this (force a poorly secured PHP file to remotely include another PHP file, for instance).
Logged

Matthew
Professional
Hero Rocketteer
*
Offline Offline

Posts: 299


Re: Has anyone here had their joomla site hacked?
« Reply #7 on: March 13, 2007, 10:57:03 AM »

All my fine are 755 - does that make it safer  Huh

Yes!

No site is ever 100% safe, but the majority of site hackings could be avoided with proper file permissions.
Logged

Dave Gee!
Professional
Hero Rocketteer
*
Offline Offline

Posts: 1302


Second Life name: Stretch Mayo (a rockin' Raptor)

Re: Has anyone here had their joomla site hacked?
« Reply #8 on: March 13, 2007, 04:36:55 PM »

Been hacked four times, three different sites. Each time the hacker came through an offending component that I used. Fortunately, I had a backup. I'm back in operation within 20 minutes of finding the hack. Joomla.org has a list of the offending extensions.

dave
Logged

Now in San Diego
"I'm an individual, just like everyone else."
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 40634


Firebug...Firebug...Firebug!

WWW
Re: Has anyone here had their joomla site hacked?
« Reply #9 on: March 13, 2007, 04:37:50 PM »

Been hacked four times, three different sites. Each time the hacker came through an offending component that I used. Fortunately, I had a backup. I'm back in operation within 20 minutes of finding the hack. Joomla.org has a list of the offending extensions.

dave

Is there a specific link for that list of evil extensions ?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
William E Dooley
Professional
Hero Rocketteer
*
Offline Offline

Posts: 599


Re: Has anyone here had their joomla site hacked?
« Reply #10 on: March 13, 2007, 05:43:06 PM »

I have a daily backup going that emails to an account I setup, so a backup isnt really my worry. Problem is, this is an online retail site, so if  this happens, and say it takes me an hour to log on and see it, how many customers just saw it and refuse to do business with me now because the site is not secure? I was reading somewhere on the joomla.org forums about how to find where they got in, something about checking your access logs? HEre is a bit of the post:

gocchin: your site was hacked? Trust me I know this oh too well, it seems to happen as Brad said best, 3PD code that was written correctly or they forgot to add the famous "defined('_VALID_MOS') or die('Direct access to this location is not allowed.');" tag to the top of the file in that component, mambot or module. Check your access logs to see what strings were passed and what they hacked. YOu will typlically see a POST (the GETs you can typically ignore) and some being passed. Here is an example from a site I found:

IP_ADDRESS_HERE - - [11/Jul/2006:01:38:16 -0700] "POST /JOOMLA/absolute_path=SOMETHING_PASS_HERE? HTTP/1.0" 200 25010 "http://YOUR_SITE.com/JOOMLA/absolute_path=SOMETHING_PASS_HERE?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7"


Question is, does anyone know how I can look at these logs?Smiley Sure would like to know where the hole that needs patching is:)

as for the 3rd party bad list, I think he was refering to this thread:

http://forum.joomla.org/index.php/topic,79477.0.html

It has a list of 3rd party stuff and their vulnerabilities
Logged
Dave Gee!
Professional
Hero Rocketteer
*
Offline Offline

Posts: 1302


Second Life name: Stretch Mayo (a rockin' Raptor)

Re: Has anyone here had their joomla site hacked?
« Reply #11 on: March 13, 2007, 07:44:22 PM »

as for the 3rd party bad list, I think he was refering to this thread:

http://forum.joomla.org/index.php/topic,79477.0.html

It has a list of 3rd party stuff and their vulnerabilities

I thought it was some article I've read. It's been a while and that brain cell is dead. Thanks Wm!

dave
Logged

Now in San Diego
"I'm an individual, just like everyone else."
stonelotus
Sr. Rocketeer
****
Offline Offline

Posts: 113

Re: Has anyone here had their joomla site hacked?
« Reply #12 on: March 13, 2007, 09:46:07 PM »

Quote
Is there a specific link for that list of evil extensions ?

http://nvd.nist.gov/nvd.cfm

Type 'joomla' into their search.

There are other sites that list vulnerabilities but I was too lazy to look them back up for you, sorry.


I forgot to mention... I believe Phil Taylor offers security auditing for Joomla although I have no idea what his fees are.
« Last Edit: March 13, 2007, 09:48:35 PM by stonelotus » Logged
Dave Gee!
Professional
Hero Rocketteer
*
Offline Offline

Posts: 1302


Second Life name: Stretch Mayo (a rockin' Raptor)

Re: Has anyone here had their joomla site hacked?
« Reply #13 on: March 13, 2007, 09:54:03 PM »

Quote
Is there a specific link for that list of evil extensions ?

http://nvd.nist.gov/nvd.cfm

Type 'joomla' into their search.

There are other sites that list vulnerabilities but I was too lazy to look them back up for you, sorry.


I forgot to mention... I believe Phil Taylor offers security auditing for Joomla although I have no idea what his fees are.

Wow! Didn't know that DHS was tracking Joomla. I guess that would be reasonable since the popularity of Joomla.
Logged

Now in San Diego
"I'm an individual, just like everyone else."
Pages: [1] Go Up Print 
RocketTheme  |  General  |  The Water Cooler  |  Topic: Has anyone here had their joomla site hacked? « previous next »
Jump to:  

Viagra