Netref cat_for_gen.php Arbitrary PHP Command Injection

high Nessus Plugin ID 18358

Synopsis

Arbitrary code may be run on the remote host.

Description

The remote host is running the Netref directory script, written in PHP.

There is a vulnerability in the installed version of Netref that enables a remote attacker to pass arbitrary PHP script code through the 'ad', 'ad_direct', and 'm_for_racine' parameters of the 'cat_for_gen.php' script. This code will be executed on the remote host under the privileges of the web server userid.

Solution

Upgrade to Netref 4.3 or later.

Plugin Details

Severity: High

ID: 18358

File Name: netref_cat_for_gen.nasl

Version: 1.14

Type: remote

Family: CGI abuses

Published: 5/23/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.5

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

Vulnerability Information

CPE: cpe:/a:netref:netref

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 4/19/2005

Reference Information

CVE: CVE-2005-1222

BID: 13275