![]() |
||
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 Related postsFiled 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
windows
vps
wordpress
ubuntu
fantastico
subversion
exchange
windows server
system administration
centos5
webmin
debian
storage
linux
esxi
XenServer
control panels
cpanel
lxlabs
virtualization
raid
security
networking
joomla
virtual dedicated servers
cisco
yum
server-administration
windows 2008 server
gentoo
mail
ssh
php
vds
hypervm
xen
vmware
microsoft
fedora
servers
firewall
apache
centos
ruby-on-rails
lxadmin
|
|
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})”