TITLE: PhpGedView File Inclusion and PHP Code Injection Vulnerabilities SECUNIA ADVISORY ID: SA18177 VERIFY ADVISORY: http://secunia.com/advisories/18177/ CRITICAL: Highly critical IMPACT: Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: PhpGedView 3.x http://secunia.com/product/6591/ PhpGedView 2.x http://secunia.com/product/2733/ 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: Apply patch for version 3.3.7. https://sourceforge.net/tracker/index.php?func=detail&aid=1386434&group_id=55456&atid=477081 PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://rgod.altervista.org/phpgedview_337_xpl.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------