Cache attack injection in Joomla 3.3.6

Discussion regarding Joomla! 3.x security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
yellow_boat
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Dec 18, 2010 12:07 pm

Cache attack injection in Joomla 3.3.6

Post by yellow_boat » Mon Feb 23, 2015 9:38 am

Hi,
My brand new 3.3.6 joomla website has a strange attack to the cache system.
The page, com_content, mod_custom and few other folder in the cache are injected with a link to "wpthemeschecker.com".
The link is insert into the page in a middle position above the content.

In a first time the cache is clean but after a little while the link start to appear into those file. DB looks clean and template file too.
If you clean the cache every link disappear.

I have few extension up to date:
com_acymailing, com_coalawebsociallinks, com_djslider, com_rokgallery, theme themeexpert Zenith_II free version.

I've already changed all password to ftp and db and admin access but nothing changed.

cache folder has normal 755 permission and file are 644
The problem doesn't occur in the local version on my pc.

Any idea that not invole to simply disable cache?
Last edited by mandville on Mon Feb 23, 2015 11:07 pm, edited 1 time in total.
Reason: topic moved from Older Version Support »Extensions - 1.0.x » Components to security 3.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12787
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Cache attack injection in Joomla 3.3.6

Post by brian » Mon Feb 23, 2015 10:18 am

Congratulations you have been hacked. Please follow the advice in the security forum
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Cache attack injection in Joomla 3.3.6

Post by Slackervaara » Tue Mar 03, 2015 12:15 pm

Have you looked in access logs how this hack was made? You can start to search aceess logs for wpthemeschecker.com.

In master htaccess this is a protection for file injection:

RewriteEngine On
########## Begin - File injection protection, by SigSiu.net
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=http:// [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC]
RewriteRule .* - [F]
########## End - File injection protection

https://docs.joomla.org/Htaccess_exampl ... ecurity%29

There also might be possible to block:
wpthemeschecker.com via htaccess


Locked

Return to “Security in Joomla! 3.x”