MDN

Go Back   Mambo - Forums Closed for posting > Mambo Announcements Forum > Security Announcements

Reply
 
Thread Tools Search this Thread Display Modes
Old February 23rd, 2006, 04:09   #1
counterpoint
 
counterpoint's Avatar
 
Join Date: Sep 2005
Location: Yorkshire, England
Posts: 1,372
counterpoint is on a distinguished road
Default Security patches for Mambo

Although Mare.D reports all over the internet look to be based on nothing at all, there is a new security hole that has been discovered by GulfTech Research and Development and blocked by the development team. You can find the Secunia report at http://secunia.com/advisories/18935/. Please note that there are no unpatched vulnerabilities listed at Secunia or elsewhere.

There are fixes for Mambo 4.5.3 and 4.5.3h. The original upload by the Core Development Team was to the Mambo Foundation's site, with security fixes to be found at: http://source.mambo-foundation.org/R...urity_Updates/. The fix contains two replacement files.

You are advised to apply these fixes immediately. If you have an earlier version of Mambo or do not wish to apply whole modules because you have customised your Mambo, then please refer to the detailed description of the changes given below (the first three apply to /includes/mambo.php):

1) The login function: added the last of the lines below -
PHP Code:
if (!$username || !$passwd) {
echo 
"<script> alert(\""._LOGIN_INCOMPLETE."\"); window.history.go(-1); </script>\n";
exit();
}else {
$username $this->_db->getEscaped($username); 
2) Modified mosMenuCheck to include a call to getEscaped -
PHP Code:
if ($task!="") {
$task $database->getEscaped($task);
$dblink.="&task=$task";
}
$database->setQuery"SELECT access FROM #__menu WHERE link like '$dblink%'" ); 
3) Modified _setTemplate with additional checks on the variable used within a path -
PHP Code:
$mos_change_template mosGetParam$_REQUEST'mos_change_template'$mos_user_template );
if (
$mos_change_template AND strpos($mos_change_template,'..') == false AND strpos($mos_change_template,':') == false) { 
4) Modified content.php to tidy up a bit and make a call to getEscaped on the $filter variable -
PHP Code:
$and '';
if (
$filter mosGetParam$_POST'filter''' )) {
$filter strtolower$filter );
$filter $database->getEscaped($filter);
if ( 
$params->get'filter' ) ) { 
__________________
All my posts are copyright © Martin Brampton
Guru Forumhttp://guru-forum.net
Remository, Glossary, and others http://www.remository.com
counterpoint is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stay informed about security patches & risks? janeri General Questions 7 July 10th, 2006 07:32
Mambo team and security issues: what's wrong? guandalf 4.5 5 May 24th, 2006 08:24
Latest security patches for 4.5.3 cause fatal errors? nitrocharged Security & Performance 18 March 1st, 2006 10:38
Upgrade Security Levels PLEASE! Adrian_A Wishlist & Feature Requests 7 July 11th, 2005 14:00
Ideas for Mambo Security brian_erdelyi General Discussion 0 March 26th, 2005 07:51


All times are GMT -7. The time now is 07:29.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.