TITLE: Coppermine Photo Gallery File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA18941 VERIFY ADVISORY: http://secunia.com/advisories/18941/ CRITICAL: Highly critical IMPACT: System access WHERE: >From remote SOFTWARE: Coppermine Photo Gallery 1.x http://secunia.com/product/1427/ DESCRIPTION: rgod has reported two vulnerabilities in Coppermine Photo Gallery, which can be exploited by malicious people and by malicious users to compromise a vulnerable system. 1) Input passed to the "lang" parameter in include/init.inc.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. The vulnerability can be further exploited by users who are allowed to upload image files to execute arbitrary PHP code. 2) Input passed to the "f" parameter in docs/showdoc.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources on the Windows platform, and remote files from Windows shared folders. The vulnerabilities have been reported in version 1.4.3. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://retrogod.altervista.org/cpg_143_adv.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 ----------------------------------------------------------------------