XOOPS xoopsConfig[language] Parameter Local File Inclusion (DSECRG-08-040)

medium Nessus Plugin ID 35278

Synopsis

The remote web server contains a PHP application that is susceptible to a local file include attack.

Description

The version of XOOPS installed on the remote host fails to filter user-supplied input to the 'xoopsConfig[language]' parameter before passing it to a PHP 'include_once()' function in 'xoops_lib/modules/protector/main.php'. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker can exploit this issue to view arbitrary files or possibly to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Note that this install is also likely affected by a similar local file include vulnerability as well as a cross-site scripting issue, although Nessus has not checked for them.

Solution

Upgrade to XOOPS version 2.3.2b or later.

See Also

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

https://xoops.org/modules/news/article.php?storyid=4563

Plugin Details

Severity: Medium

ID: 35278

File Name: xoops_xoopsconfig_language_file_include.nasl

Version: 1.16

Type: remote

Family: CGI abuses

Published: 12/29/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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

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

Exploited by Nessus: true

Reference Information

CVE: CVE-2008-6884

BID: 32685

CWE: 22