TITLE: phpWebSite "hub_dir" Local File Inclusion Vulnerability SECUNIA ADVISORY ID: SA19647 VERIFY ADVISORY: http://secunia.com/advisories/19647/ CRITICAL: Moderately critical IMPACT: Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: phpWebSite 0.x http://secunia.com/product/297/ DESCRIPTION: rgod has reported a vulnerability in phpWebSite, which can be exploited by malicious people to disclose sensitive information and potentially compromise a vulnerable system. Input passed to the "hub_dir" parameter in "index.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. This can further be exploited to include arbitrary PHP scripts from an external Windows share if the affected system is running PHP 5 on Windows. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerability has been reported in version 0.10.2. 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/phpwebsite_0102_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 ----------------------------------------------------------------------