phpWebThings core/editor.php editor_insert_bottom Parameter Remote File Inclusion

medium Nessus Plugin ID 23784

Synopsis

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

Description

The remote web server is running phpWebThings, a PHP based photo gallery management system.

The version of phpWebThings installed on the remote host fails to sanitize input to the 'editor_insert_bottom' parameter before using it in the 'core/editor.php' script to include PHP code. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker can exploit this issue to view arbitrary files and execute arbitrary code, possibly taken from third-party hosts, on the remote host.

Solution

No patches or upgrades have been reported by the vendor at this time.

Plugin Details

Severity: Medium

ID: 23784

File Name: phpwebthings_rfi.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 12/10/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 11/18/2006

Reference Information

CVE: CVE-2006-6042

BID: 21178