Jul 22
2009

Latest Security Threats and Joomla! Defense Strategies

Posted by Georg in Untagged 

It happened sometime around mid June on a Dreamhost user account, older than three years and bloated with quite some antiquated long forgotten web applications. All of a sudden, every site under the above mentioned unix user was displaying this:
undefined_hacker

on top left of a blank page. D'oh...

We're now gonna skip remembering the hassle of urgent chores moving live sites to newly created, separated unix users, naturally after restoring them from the backups. Because, like any respectable host, Dreamhost is providing anice automated backup utility. This sometimes, beyond the limitless wisdom of the no-guarantee statement, will tell you to "come back later" in a sorry message, but that's more of a seldom occurrence.

Few feature considerations on this mild hacking attack:
  1. Writing in each index.php or index.html file situated in the /home/username/domain.com directory.
  2. Not acting down to the next level of sub-directories, this made our restoring life easier, considering the rich directory tree inside the Joomla structure.
  3. Not inserting any malicious external code. Just erasing the contents of index.* files and replacing it with the line "undefined_hacker".
What we may dare conclude from here? That it was only a proof of concept for a yet-to-come attack script. And that it's not necessarily Joomla! related, the exploit, I mean.

***


Comes yesterday with a distress signal from one of our other clients, still sitting on Rochen (another exceptional hoster out there). The victim site this time was giving syntax error messages. Thanks goodness there was only one site under this FTP user!

A frugal analysis of the event tells us that every index.* (including those belonging to the sub-directories down the dir tree) file has been written in, the code cut in the middle and, from there on, replaced with a ghost iframe calling some server in a far away undisclosed country, some cgi script residing on that far away server, that is.

Aha! This time the "proof-of-concept" errr... concept advanced to a malicious performance: alien code insertion with a purpose of stealing user data, probably, via the cgi script by remote.

It appears that the June event on Dreamhost evolved this end July into something evil on Rochen. Yet not that effective, for time being at least. Why so? Because the genuine PHP files were code-crippled in the middle, so they won't parse to HTML throughout the browsers, hence no bad iframe could be loaded in the browser, preventing the attacker from collecting, infecting, spoofing, XSS-ing, cracking, etc. any potential visitor landing on the compromised page.

Still the danger remains at large. There's an exploit capable to write in all index.* files, even down the directory tree, throughout an entire unix user account.

Measures to consider in order to defend your Joomla! website:
  1. Dump the FTP! Stop using FTP connections and go SFTP and/or SSH. Where S comes from SECURE, aka encrypted. Yes, you're right, NO encryption is unbreakable. But ANY encryption gives an attacker script LESS chances to break in than a non-encrypted connection, like FTP is. So make sure to dump FTP altogether. It may be sooner than later when this exploit could make it up to some sort of epidemy, and they'll call it the FTP-flu. Believe me, bird-swine-flu would be regarded as a walk in the park by then.
  2. Mercilessly delete old versions of scripts and various apps just sitting down there on the server. Not a disc space issue ever since all hosts got virtualizing out to [over]sell from as little as hundreds of GB to as much as infinite disc space. But an issue having those unused forgotten apps act like gates for security exploits roaming the net.
  3. And yes! Make certain your live sites run the latest and greatest versions of everything. Be it Joomla core or extensions, third party, make then sure, before installing them, to have read and googled for knowledge about possible exploits related to them.
  4. Good to adhere to a password updating policy on a monthly basis. And try letting the host hashing robot generate scrambled passwords as he knows. You're better off than with Jim18LucY -type ones...
Happy Joomla-ing!
Oh, and don't forget to report, in a way or another, about similar hacking attacks against your sites.
Comments (1)Add Comment

Write comment

busy

Google News

Google News
Copyright © 2012 Joomla Problem Solvers. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
JoomlaPeople Rss Feed
buy microsoft works 9 microsoft download for remote desktop xp buy and download oem software Creative Suite 5 Design Premium cheap price download dvd rom burning software buy cheap Adobe CS5 Production Premium i want to buy a windows 7 pro license key dealer managment software cheap mississippi download norton antivirus 2010 instant buy microsoft office 2007 home adobe discount cs3 windows 7 cheap liscense what company did microsoft buy best price on adobe software microsoft office professional plus 2010 buy mathcad software prices buy adobe after effects microsoft project used or discount purchase cheap aircraft maintenance software adobe acrobat reader 9.3 download microsoft windows 7 home premium buy download buy student windows 7 pro windows 7 cheap australia best buy digital music store software discount microsoft oem office wholesale discount adobe acrobat 9 standard download microsoft discounts for teachers illustrator cs5 download microsoft office 2010 educator discount windows 7 with student discount buy widows xp software cheap technical software oem cheap adobe cs3 discount adobe lightroom teacher discount microsoft microsoft office 2007 professional best price buy office 2010 oem adobe software educational pricing microsoft college student discount graphics desktop publishing software download buy windows 7 microsoft uk but new creative suite 5 where to buy Adobe CS5 Production online cheap windows 7 machine buy Adobe CS5 Web special offer discount microsoft office professional Buy Wholesale Replica chinese exports orange handbags Wholesale Handbags Asian cheap totes cheap oem adobe software adobe illustrator cs- student discount buy microsoft office publisher 2007 software buy Creative Suite 5 Web Premium online cheapest Adobe Creative Suite 5 striker systems software prices buy bargains deals for software adobe indesign discount discount microsoft test vouchers windows 7 cheap upgrade 2010 cheap microsoft software cheap accounting software where to buy microsoft points designer bags cheap where to buy Adobe Creative Suite 5 Production online best prices on Creative Suite 5 Design discount fashion handbags best prices on CS5 Web Premium buy CS5 Master Collection oem best prices on Adobe CS5 Production Adobe Creative Suite 5 Production Premium lowest price web store Creative Suite 5 Design Premium where to buy Adobe Creative Suite 5 Design Premium online lowest cost Adobe Creative Suite 5 Master Collection discount Adobe CS5 Production Premium buy cheap Adobe CS5 Master purchase Adobe CS5 Design Premium buy CS5 Production Premium online buy Adobe CS5 Master Collection purchase online Adobe Creative Suite 5 buy Adobe CS5 Web online buy Creative Suite 5 Master online discount Creative Suite 5 Design download internet security software adobe cs5 design premium cheap Marc Jacobs Replica lowest cost CS5 Production Premium clutch handbags Adobe CS5 Web Premium oem photoshop cs5 mac discount Creative Suite 5 Web with cheap price download dvd rom burning software purchase Adobe CS5 Master buy windows 7 oem key discount microsoft office student best discount prices for full windows 7 ultimate operating system student discount on adobe software download recording software china manufacturer directory botkier bags designer handbags replicas adobe acrobat reader pdf office 2007 enterprise activation buy windows 7 professional buy Adobe Creative Suite 5 Design Premium oem price of Adobe CS5 Web office 2007 version comparison adobe photoshop troubleshooting adobe photoshop cs3 adobe flash 10 android office 2007 beta activation compare prices microsoft office 2007 adobe creative suite 4 design premium fisher price easy link software update adobe standard 8 office 2003 install switches adobe illustrator creative suite office 2007 sp1 review adobe acrobat download 8 or 9 discount adobe price of Adobe CS5 Design Premium buy windows xp home edition cheap microsoft office 2010 military discount adobe flash student discount cost of Adobe CS5 Web Premium windows seven student discount adobe acrobat 9 pro mac download channel handbags replica cheap diaper bags purchase on line Adobe CS5 Web cheap windows 7 full 64-bit software review download microsoft office student discount adobe dreamweaver cs5 download acronis true image home 2011 discount cheap adobe creative suite 3 web premium mac microsoft office student discount for mac buy microsoft office 2007 with college discount nero 9 download Adobe Creative Suite 5 Production with cheap price buy office 2010 upgrade Tadalafil thyroxine online no rx buy Tadalafil cheap line Cialis online purchasing buy Cialis levothyroxine purchase cheap Cialis cod free fedex where to buy real Cialis uk how to buy Cialis in dubai buy Cialis from tesco buy Viagra line uk ordering Viagra overnight where to buy real Viagra in the uk Viagra or buy buy Viagra without a health where to buy Viagra in germany where to buy generic Viagra online in the uk buy Viagra online in uk Viagra online purchasing buying Viagra next day delivery on Buspar Buspar no prescription needed buy online buy Buspar online cheap with no prescription order Buspar thyroxine for over night delivery can you buy Buspar in thailand buy online without a prescription cheap Buspar purses and handbags wholesale replica handbags online loui vitton bags hype handbags tote Wholesale Fake Replica Anne Klein Handbags designer handbags at discount prices leather wallet purse china handbag buy Lisinopril in england purchase Lisinopril c.o.d. order Lisinopril pay pal online without rx purchase Lisinopril offshore no rx fedex where to buy Lisinopril in mexico buy Lisinopril discount buy 200 mcg Lisinopril online where to buy Lisinopril buy Lisinopril paypal buy Medrol online in canada Medrol free shipping Prada Handbags And Wallets Coach Leather Replica discount jewelry mens designer bags replica chanel designer handbags Wholesale Replica And Purses paper gift bags replica guess handbag replica gucci watches replica designer watches and handbags rolex kentucky 3 day becky holder