Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> CGI abuses >> PhpGedView PGV_BASE_DIRECTORY Parameter Remote File Include Vulnerability


Vulnerability Assessment Details

PhpGedView PGV_BASE_DIRECTORY Parameter Remote File Include Vulnerability

Vulnerability Assessment Summary
Checks for PGV_BASE_DIRECTORY parameter remote file include vulnerability in PhpGedView

Detailed Explanation for this Vulnerability Assessment

Summary :

The remote web server contains a PHP application that is prone to a
remote file inclusion vulnerability.

Description :

The remote host appears to be running PhpGedView, a web-based
genealogy program written in PHP.

The version of PhpGedView installed on the remote host fails to
sanitize user-supplied input to the 'PGV_BASE_DIRECTORY' parameter of
the 'help_text_vars.php' script before using it in a PHP 'require'
function. Provided PHP's 'register_globals' setting is enabled, an
unauthenticated attacker may be able to exploit this flaw to read
arbitrary files on the remote host and or run arbitrary code, possibly
taken from third-party hosts, subject to the rights of the web
server user id.

In addition, the application reportedly fails to sanitize user input
to the 'user_language', 'user_email', and 'user_gedcomid' parameters
of the 'login_register.php' script, which could be used by a possible hacker
to inject arbitrary PHP code into a log file that can then be executed
on the affected host, subject to the permissions of the web server
user id.

See also :

http://retrogod.altervista.org/phpgedview_337_xpl.html
https://sourceforge.net/tracker/index.php?func=detail&aid=1386434&group_id=55456&atid=477081

Solution :

Upgrade to PhpGedView 3.3.7 or 4.0 beta 3 and apply the patch
referenced in the vendor advisory above.

Network Security Threat Level:

High / CVSS Base Score : 7.0
(AV:R/AC:L/Au:NR/C:P/I:P/A:P/B:N)

Networks Security ID: 15983

Vulnerability Assessment Copyright: This script is Copyright (C) 2005-2006 Tenable Network Security

Cables, Connectors

NEW 4GB 4X 1GB 2RX8 PC2-6400 DDR2 800Mhz 200pin Sodimm NON-ECC RAM Laptop Memory
$8.88
NEW 4GB 4X 1GB 2RX8 PC2-6400 DDR2 800Mhz 200pin Sodimm NON-ECC RAM Laptop Memory pictureHynix 2GB 2X 1GB DDR2 667Mhz 2RX8 PC2-5300S 200pin Sodimm Laptop Memory RAM CL5
$6.44
Hynix 2GB 2X 1GB DDR2 667Mhz 2RX8 PC2-5300S 200pin Sodimm Laptop Memory RAM CL5 pictureNew Samsung 20GB 10x2GB PC2-5300E DDR2-667MHz ECC UDIMM 240pin Server Memory
$87.9
New Samsung 20GB 10x2GB PC2-5300E DDR2-667MHz ECC UDIMM 240pin Server Memory pictureLot of 4 packs - Kingston KVR667D2S4P5/1G ECC PC2-5300 CL5 240PIN DIMM - New
$40.0
Lot of 4 packs - Kingston KVR667D2S4P5/1G ECC PC2-5300 CL5 240PIN DIMM - New picture


Discussions

No Discussions have been posted on this vulnerability.