TITLE: LinPHA "lang" Local File Inclusion Vulnerability SECUNIA ADVISORY ID: SA18808 VERIFY ADVISORY: http://secunia.com/advisories/18808/ CRITICAL: Highly critical IMPACT: Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: LinPHA 1.x http://secunia.com/product/8004/ LinPHA 0.x http://secunia.com/product/3741/ DESCRIPTION: rgod has discovered a vulnerability in Linpha, which can be exploited by malicious people to disclose sensitive information and potentially to compromise a vulnerable system. Input passed to the "lang" parameter in docs/index.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. If the Logger plugin is enabled and user login events are logged to a file, then it is possible to execute arbitrary PHP code by inserting PHP code in the username that is logged to the file. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerability has been confirmed in version 1.0. Other versions may also be affected. Note: It has also been reported that local file inclusion vulnerabilities also exists in the installation scripts. The vendor has recommended that such scripts be removed after installation is complete. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://retrogod.altervista.org/linpha_10_local.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 ----------------------------------------------------------------------