CodeGrrl Applications Remote File Inclusion Vulnerabilities

medium Nessus Plugin ID 20214

Synopsis

The remote web server contains a PHP application that is affected by a remote file inclusion vulnerability.

Description

The remote host appears to be running at least one of the PHP applications from CodeGrrl - PHPCalendar, PHPClique, PHPFanBase, or PHPQuotes. Under certain conditions, these applications fail to sanitize input to the 'siteurl' parameter of the 'protection.php' script before using it in a PHP 'include' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker can exploit this issue to view arbitrary files on the remote host and to execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Enable PHP's 'register_globals' setting.

See Also

https://www.securityfocus.com/archive/1/416525/30/30/threaded

Plugin Details

Severity: Medium

ID: 20214

File Name: codegrrl_file_includes.nasl

Version: 1.21

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

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/13/2005

Reference Information

CVE: CVE-2005-3571

BID: 15417