XOOPS xoopsConfig[language] Parameter Local File Inclusion (XOOPS_WFd205_xpl)

medium Nessus Plugin ID 20213

Synopsis

The remote web server contains a PHP application that is affected by multiple local file inclusion issues.

Description

The remote installation of XOOPS fails to sanitize user-supplied input to the 'xoopsConfig[language]' parameter of several xoopseditor scripts before using it in PHP 'include' functions. An unauthenticated attacker may be able to leverage these issues to read arbitrary local files and even execute arbitrary PHP code, subject to the privileges of the web server user id. Successful exploitation requires that PHP's 'register_globals' setting be enabled and possibly that 'magic_quotes_gpc' be disabled.

Solution

Disable PHP's 'register_globals' setting and enable its 'magic_quotes_gpc' setting.

See Also

http://retrogod.altervista.org/xoops_xpl.html

Plugin Details

Severity: Medium

ID: 20213

File Name: xoops_xoopsconfig_file_includes.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 11/16/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Vulnerability Information

CPE: cpe:/a:xoops:xoops

Required KB Items: www/xoops

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 11/12/2005

Reference Information

CVE: CVE-2005-3680

BID: 15406