PhpDig config.php relative_script_path Parameter Remote File Inclusion

high Nessus Plugin ID 12008

Language:

Synopsis

Arbitrary code may be executed on the remote server.

Description

The remote host is running phpdig, an http search engine written in PHP.
There is a flaw in this product that could allow an attacker to execute arbitrary PHP code on this by forcing this set of CGI to include a PHP script hosted on a third-party host.

Solution

Upgrade to the latest version of this software.

Plugin Details

Severity: High

ID: 12008

File Name: phpdig_code_injection.nasl

Version: 1.23

Type: remote

Family: CGI abuses

Published: 1/15/2004

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.0

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

CVSS Score Source: CVE-2004-0068

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

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

Vulnerability Information

CPE: cpe:/a:phpdig.net:phpdig

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 1/15/2004

Reference Information

CVE: CVE-2004-0068

BID: 9424