PHProjekt authform.inc.php path_pre Parameter Remote File Inclusion

medium Nessus Plugin ID 21189

Synopsis

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

Description

The remote host is running PHProjekt, an open source groupware suite written in PHP.

The version of PHProjekt installed on the remote host fails to sanitize user-supplied input to the 'path_pre' parameter of the 'lib/authform.inc.php' script before using it in a PHP 'include_once()' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this issue to view arbitrary files on the remote host or to execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Upgrade to PHProject version 4.2.3 or later.

See Also

https://security.gentoo.org/glsa/200412-27

Plugin Details

Severity: Medium

ID: 21189

File Name: phprojekt_path_pre_file_include.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 4/7/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Vulnerability Information

CPE: cpe:/a:phprojekt:phprojekt

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 12/28/2004

Reference Information

CVE: CVE-2004-2740

BID: 12116

CWE: 94