Secunia Logo
 
PhpGedView File Inclusion and PHP Code Injection Vulnerabilities
Secunia Advisory: SA18177
Release Date: 2005-12-21
Last Update: 2006-01-02
Popularity: 6,695 views

Critical:
Highly critical
Impact: Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:PhpGedView 2.x
PhpGedView 3.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
rgod has reported some vulnerabilities in PhpGedView, which can be exploited by malicious people to disclose sensitive information and compromise a vulnerable system.

1) Input passed to the "PGV_BASE_DIRECTORY" parameter in "help_text_vars.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.

Successful exploitation requires that "register_globals" is enabled.

2) Input passed to the "user_language", "user_email", and "user_gedcomid" parameters when registering isn't properly sanitised before being stored in the PHP script "authenticate.php". This can be exploited to inject and execute arbitrary PHP code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerabilities have been reported in version 3.3.7 and prior.

Solution:
Update to version 3.3.8.
http://www.phpgedview.net/download.php

Provided and/or discovered by:
rgod

Changelog:
2006-01-02: Updated "Solution" section.

Original Advisory:
http://rgod.altervista.org/phpgedview_337_xpl.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 58 views
2. Basic PHP CMS "id" SQL Injection Vulnerability // 37 views
3. Microsoft Office Communications Server SIP INVITE Denial of Service // 36 views
4. Sun Java JDK / JRE Multiple Vulnerabilities // 33 views
5. Lito Lite CMS "cid" SQL Injection Vulnerability // 32 views
6. Minimal Ablog Multiple Vulnerabilities // 30 views
7. RakhiSoftware Shopping Cart Multiple Vulnerabilities // 29 views
8. Active Newsletter "email" and "password" SQL Injection Vulnerabilities // 29 views
9. Ocean12 FAQ Manager Pro "ID" SQL Injection Vulnerability // 27 views
10. Active eWebquiz "useremail" and "password" SQL Injection Vulnerabilities // 26 views