Limbo CMS sql.php classes_dir Parameter Remote File Inclusion

medium Nessus Plugin ID 21308

Synopsis

The remote web server contains a PHP script that is affected by a remote file include issue.

Description

The remote host is running Limbo CMS, a content-management system written in PHP.

The version of Limbo CMS installed on the remote host fails to sanitize user-supplied input to the 'classes_dir' parameter of the 'classes/adodbt/sql.php' script before using it in PHP 'include_once()' functions. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this issue to view arbitrary files on the remote host or to execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Apply Cumulative Fix 7a or patch the affected script as described in the bug report.

Plugin Details

Severity: Medium

ID: 21308

File Name: limbo_classes_dir_file_include.nasl

Version: 1.23

Type: remote

Family: CGI abuses

Published: 5/3/2006

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: 5.8

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

Vulnerability Information

CPE: cpe:/a:limbo_cms:limbo_cms

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: 4/29/2006

Reference Information

CVE: CVE-2006-2142

BID: 17760