CMS Made Simple admin/login.php cms_language Cookie Local File Inclusion

medium Nessus Plugin ID 34992

Synopsis

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

Description

The remote host is running CMS Made Simple, a content management system written in PHP.

The version of CMS Made Simple installed on the remote host fails to sanitize user-supplied input to the 'cms_language' cookie when passed to the 'admin/login.php' script before using it to include PHP code. Regardless of PHP's 'register_globals' and 'magic_quotes_gpc' settings, an unauthenticated attacker may be able to leverage 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.

Solution

Unknown at this time.

Plugin Details

Severity: Medium

ID: 34992

File Name: cmsmadesimple_cms_language_file_include.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 12/1/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

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:cmsmadesimple:cms_made_simple

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Exploitable With

Elliot (CMS Made Simple 1.4.1 LFI)

Reference Information

CVE: CVE-2008-5642

BID: 32535

CWE: 22