![]() |
||
The Crucial Blog August 23, 2008
Joomla 1.5 Exploit Fix mod_security – Token Password Reset Exploit and SQL InjectionIf you are running sites running Joomla, 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 Joomla 1.5 getting hacked. To prevent this at the firewall level, and help stop your Joomla installations being hacked implement the following mod_security 1.x rule on each server:
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: Tags: joomla, security, server-administration Filed under: Uncategorized by — aaron @ 9:47 pm One Response to “Joomla 1.5 Exploit Fix mod_security – Token Password Reset Exploit and SQL Injection”Leave a Reply |
Tag Cloud
ruby-on-rails
XenServer
ubuntu
gentoo
control panels
vmware
ssh
server-administration
servers
windows server
virtualization
vds
cisco
php
webmin
wordpress
centos
virtual dedicated servers
exchange
linux
firewall
apache
fedora
windows
vps
lxlabs
system administration
debian
windows 2008 server
joomla
raid
subversion
centos5
storage
esxi
microsoft
security
networking
lxadmin
yum
fantastico
xen
hypervm
mail
cpanel
|
|
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
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662
This mod_security rule give you some protection against attacks. If you add a space before the ‘, you can also reset the password. I sorted out some better mod_security rules for this bug.
-> Mod_sec Version 1.0
SecFilterSelective ARG_task “confirmreset” chain
SecFilterSelective POST_PAYLOAD “!token=([a-z0-9]{32})”
-> Mod_sec Version 2.0
SecRequestBodyAccess On
# Joomla Security problem -> http://tinyurl.com/5aq67o
SecRule ARGS:task “confirmreset” chain
SecRule REQUEST_BODY “!token=([a-z0-9]{32})”