TITLE: Mambo MambWeather Module "mosConfig absolute path" File Inclusion
SECUNIA ADVISORY ID: SA22521
CRITICAL: Highly critical
IMPACT: System access
WHERE: From remote
SOFTWARE: MambWeather 1.x (module for Mambo)http://secunia.com/product/12390/http://secunia.com/advisories/22521/
DESCRIPTION: h4ntu has discovered a vulnerability in the MambWeather module for Mambo, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "mosConfig absolute path" parameter in modules/MambWeather/Savant2/Savant2_Plugin_options.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.
The vulnerability is confirmed in version 1.8.1. Other versions may also be affected.
SOLUTION: Edit the source code to ensure that input is properly verified.
Set "register_globals" to "Off".
PROVIDED AND/OR DISCOVERED BY: h4ntu