Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

PhpGedView PGV_BASE_DIRECTORY Parameter Remote File Inclusion



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


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 privileges 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 an attacker 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.


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