vendor:
XOOPS
by:
Luca "daath" De Fulgentis
3,3
CVSS
LOW
Remote Arbitrary File Retrieval
N/A
CWE
Product Name: XOOPS
Affected Version From: XOOPS <= 2.3.3
Affected Version To: XOOPS <= 2.3.3
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009
XOOPS <= 2.3.3 Remote Arbitrary File Retrieval
Nibble Security discovered a remote arbitrary file retrieval in XOOPS version 2.3.3, which could be exploited to read system or XOOPS configuration files ("mainfile.php"). A vulnerable read_file() function can be found in "module_icon.php" under /xoops_lib/modules/protector/. Here an image icon is read and its full pathname is constructed using a user-controllable variable called "$mydirpath" : If register_globals is enabled and magic_quotes_gpc disabled, it's possible to control the "$mydirpath" variable content and inject an arbitrary filename (followed by a NULL byte (%00) to make file_exists() function ignore the following "/module_icon.png"), resulting in file cointents disclosure.
Mitigation:
Upgrade to XOOPS 2.3.4 or later.