home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog - Archive

August 23, 2008

Joomla 1.5 Exploit Fix mod_security – Token Password Reset Exploit and SQL Injection

If you are running sites running , and have not recently patched your installation you will probably have found your installation has been hacked one or more times.  As a system adminsitrar you may find a number of sites on a server running 1.5 getting hacked.  To prevent this at the firewall level, and help stop your installations being hacked implement the following mod_ 1.x rule on each server:

# Joomla 1.5 null token password reset exploit – RM/BC 20 Aug 08
SecFilterSelective ARG_task “confirmreset” chain
SecFilterSelective POST_PAYLOAD “token=(‘|%27)”

# Joomla 1.5 SQL injection – 20 Aug 08
# nb: need case independence, on by default in 1.x!
SecFilterSelective ARGS_VALUES “;.*declare%20.*exec”

A permanent fix/solution for each Joomla installation is as follows:

Upgrade to latest Joomla! version (1.5.6 or newer), or patch /components/com_user/models/reset.php with the code below:

After global $mainframe; on line 113 of reset.php, add:

if(strlen($token) != 32) {
$this->setError(JText::_(‘INVALID_TOKEN’));
return false;
}

Tags: , ,

(1) Comment

Filed under: Uncategorized by — aaron @ 9:47 pm


April 6, 2008

Removing Joomla Copyright/GNU/GPL Banner

Follow these steps to remove the “ is Free Software released under the GNU/GPL License” from your website:

1. Goto /includes/version.php

2. Comment the following line
———————————————————-
var $URL = ‘Joomla! is Free Software released under the GNU/GPL License.’;
———————————————————-

3. If you edited the file locally on your computer, make sure you upload the file to your hosting account.

Tags: ,

(1) Comment

Filed under: Uncategorized by — aaron @ 5:44 pm




     

Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers