---------------------------------------------------------------------- BETA test the new Secunia Personal Software Inspector! The Secunia PSI detects installed software on your computer and categorises it as either Insecure, End-of-Life, or Up-To-Date. Effectively enabling you to focus your attention on software installations where more secure versions are available from the vendors. Download the free PSI BETA from the Secunia website: https://psi.secunia.com/ ---------------------------------------------------------------------- TITLE: Pakupaku CMS File Upload and Local File Inclusion SECUNIA ADVISORY ID: SA26598 VERIFY ADVISORY: http://secunia.com/advisories/26598/ CRITICAL: Highly critical IMPACT: Exposure of system information, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: Pakupaku CMS 0.x http://secunia.com/product/15551/ DESCRIPTION: GoLd_M has discovered two vulnerabilities in Pakupaku CMS, which can be exploited by malicious people to disclose sensitive information or to compromise a vulnerable system. 1) The index.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server. 2) Input passed to the "page" parameter in index.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources. Successful exploitation of this vulnerability with arbitrary file extensions requires that "magic_quotes_gpc" is disabled. The vulnerabilities are confirmed in version 0.4. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified. Implement whitelisting functionality that only lets people upload files with certain extensions. Use another product. PROVIDED AND/OR DISCOVERED BY: GoLd_M a.k.a. Mahmood_ali ORIGINAL ADVISORY: http://milw0rm.com/exploits/4341 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------