---------------------------------------------------------------------- Hardcore Disassembler / Reverse Engineer Wanted! Want to work with IDA and BinDiff? Want to write PoC's and Exploits? Your nationality is not important. We will get you a work permit, find an apartment, and offer a relocation compensation package. http://secunia.com/hardcore_disassembler_and_reverse_engineer/ ---------------------------------------------------------------------- TITLE: phpCOIN "_CCFG[_PKG_PATH_INCL]" File Inclusion SECUNIA ADVISORY ID: SA21624 VERIFY ADVISORY: http://secunia.com/advisories/21624/ CRITICAL: Highly critical IMPACT: System access WHERE: >From remote SOFTWARE: phpCOIN 1.x http://secunia.com/product/4722/ DESCRIPTION: Timq has discovered some vulnerabilities in phpCOIN, which can be exploited by malicious people to compromise a vulnerable system. Input passed to the "_CCFG[_PKG_PATH_INCL]" parameter in multiple files is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources. Examples: http://[host]/coin_includes/api.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/common.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/constants.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/core.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/custom.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/db.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/redirect.php?_CCFG[_PKG_PATH_INCL]=[file] http://[host]/coin_includes/session_set.php?_CCFG[_PKG_PATH_INCL]=[file] Successful exploitation requires that "register_globals" is enabled. The vulnerabilities have been confirmed in version 1.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: Timq ORIGINAL ADVISORY: http://milw0rm.com/exploits/2254 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------