PhpGedView module.php pgvaction Parameter Traversal Local File Inclusion

high Nessus Plugin ID 51457

Synopsis

The remote web server contains a PHP script that is prone to a local file inclusion attack.

Description

The web server hosts PhpGedView, a web-based real estate listing management application written in PHP.

The version of PhpGedView installed on the remote host fails to sanitize user input to the 'pgvaction' parameter of the 'module.php' script before using it to include PHP code.

Regardless of PHP's 'register_globals' setting, an unauthenticated, remote attacker can leverage this issue to view arbitrary files or possibly execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Either remove or change permissions on the affected script or apply the 'Improved hacking detection' (ID: 3152857) patch.

See Also

http://www.nessus.org/u?7a26c629

Plugin Details

Severity: High

ID: 51457

File Name: phpgedview_pgvacation_lfi.nasl

Version: 1.15

Type: remote

Family: CGI abuses

Published: 1/12/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:phpgedview:phpgedview

Required KB Items: www/PHP, www/phpgedview

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 1/7/2011

Vulnerability Publication Date: 1/5/2011

Exploitable With

Elliot (PhpGedView 4.2.3 LFI)

Reference Information

CVE: CVE-2011-0405

BID: 45674