Mambo / Joomla! Component / Module 'mosConfig_absolute_path' Multiple Parameter Remote File Include Vulnerabilities

high Nessus Plugin ID 22049

Synopsis

The remote web server contains a PHP application that is affected by multiple remote file include vulnerabilities.

Description

A third-party component for Mambo, Module, or Joomla! is running on the remote host. At least one of these components is a version that is affected by a remote file include vulnerability due to improper sanitization of user-supplied input to the 'mosConfig_absolute_path' parameter before using it to include PHP code. Provided the PHP 'register_globals' setting is enabled, an unauthenticated, remote attacker can exploit this issue to disclose arbitrary files or execute arbitrary PHP code on the remote host, subject to the privileges of the web server user ID.

Solution

Disable the PHP 'register_globals' setting or contact the product's vendor to see if an upgrade exists.

See Also

https://www.securityfocus.com/archive/1/439035/30/0/threaded

https://www.securityfocus.com/archive/1/439451/30/0/threaded

https://www.securityfocus.com/archive/1/439618/30/0/threaded

https://www.securityfocus.com/archive/1/439963/30/0/threaded

https://www.securityfocus.com/archive/1/439997/30/0/threaded

https://www.securityfocus.com/archive/1/440881/30/0/threaded

https://www.securityfocus.com/archive/1/441533/30/0/threaded

https://www.securityfocus.com/archive/1/441538/30/0/threaded

https://www.securityfocus.com/archive/1/441541/30/0/threaded

https://www.securityfocus.com/archive/1/444425/30/0/threaded

https://packetstormsecurity.com/0607-exploits/smf.txt

https://isc.sans.edu/diary/Attacks+against+Joomla+com_peoplebook/1526

Plugin Details

Severity: High

ID: 22049

File Name: mosconfig_absolute_path_file_include.nasl

Version: 1.112

Type: remote

Family: CGI abuses

Published: 7/15/2006

Updated: 6/4/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:joomla:joomla%5c%21

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 6/28/2006

Exploitable With

CANVAS (CANVAS)

Elliot (Extcalendar RFI)

Reference Information

CVE: CVE-2006-3396, CVE-2006-3530, CVE-2006-3556, CVE-2006-3748, CVE-2006-3749, CVE-2006-3750, CVE-2006-3751, CVE-2006-3773, CVE-2006-3774, CVE-2006-3846, CVE-2006-3947, CVE-2006-3949, CVE-2006-3980, CVE-2006-3995, CVE-2006-4074, CVE-2006-4130, CVE-2006-4195, CVE-2006-4270, CVE-2006-4288, CVE-2006-4553, CVE-2006-4858, CVE-2006-5045, CVE-2006-5048, CVE-2006-5519, CVE-2006-6962, CVE-2007-1702, CVE-2007-2005, CVE-2007-2144, CVE-2007-2319, CVE-2007-3130, CVE-2007-5310, CVE-2007-5412, CVE-2007-5457, CVE-2008-0567, CVE-2008-5789, CVE-2008-5790, CVE-2008-5793, CVE-2008-6841, CVE-2010-2918

BID: 18705, 18808, 18876, 18919, 18924, 18968, 18991, 19037, 19042, 19044, 19047, 19100, 19217, 19222, 19223, 19224, 19233, 19373, 19465, 19505, 19574, 19581, 19725, 20018, 20667, 23125, 23408, 23490, 23529, 24342, 25959, 26002, 26044, 27531, 28942, 30093, 32190, 32192, 32194

CWE: 94