ZPanel 2.0 Multiple Script Remote File Inclusion

high Nessus Plugin ID 24698

Synopsis

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

Description

The remote host is running ZPanel, an open source hosting control panel written in PHP.

The installation of ZPanel on the remote host fails to sanitize user- supplied input to the 'page' and 'body' parameters of the 'zpanel.php' and 'templates/ZPanelV2/template.php' scripts respectively before using it to include PHP code. An unauthenticated attacker can exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Note that exploitation of this issue via 'zpanel.php' does not require that PHP's 'register_globals' setting be enabled.

Solution

Unknown at this time.

Plugin Details

Severity: High

ID: 24698

File Name: zpanel_page_file_include.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 2/23/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:zpanel:zpanel

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 3/15/2005

Reference Information

CVE: CVE-2005-0793, CVE-2007-1123

BID: 22683