phpScheduleIt reserve.php start_date Parameter Arbitrary Command Injection

high Nessus Plugin ID 34338

Synopsis

The remote web server contains a PHP application that allows execution of arbitrary commands.

Description

The version of phpScheduleIt installed on the remote host fails to sanitize user-supplied input to the 'start_date' parameter of the 'reserve.php' script before using it in an 'eval()' function call. Provided PHP's 'magic_quotes_gpc' is disabled, an unauthenticated, remote attacker can leverage this issue to execute arbitrary code on the remote host, subject to the privileges under which the web server operates.

Solution

Upgrade to phpScheduleIt version 1.2.11 or later.

See Also

http://www.nessus.org/u?f01c512f

Plugin Details

Severity: High

ID: 34338

File Name: phpscheduleit_start_date_cmd_injection.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 10/3/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.0

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:brickhost:phpscheduleit

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Exploitable With

Core Impact

Metasploit (phpScheduleIt PHP reserve.php start_date Parameter Arbitrary Code Injection)

Reference Information

CVE: CVE-2008-6132

BID: 31520, 33855

CWE: 94