TITLE: PHP Album "data_dir" File Inclusion Vulnerability SECUNIA ADVISORY ID: SA19661 VERIFY ADVISORY: http://secunia.com/advisories/19661/ CRITICAL: Moderately critical IMPACT: System access WHERE: >From remote SOFTWARE: PHP Album 0.x http://secunia.com/product/9370/ DESCRIPTION: rgod has discovered a vulnerability in PHP Album, which can be exploited by malicious people to compromise a vulnerable system. Input passed to the "data_dir" parameter in language.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including local or external resources. Successful exploitation requires that "magic_quotes_gpc" is disabled and "register_globals" is enabled. Inclusion of external files requires PHP5. The vulnerability has been confirmed in version 0.3.2.3. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://retrogod.altervista.org/phpalbum_0323_incl_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 ----------------------------------------------------------------------