---------------------------------------------------------------------- Reverse Engineer Wanted Secunia offers a Security Specialist position with emphasis on reverse engineering of software and exploit code, auditing of source code, and analysis of vulnerability reports. http://secunia.com/secunia_security_specialist/ ---------------------------------------------------------------------- TITLE: phpRaid SQL Injection and File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA20200 VERIFY ADVISORY: http://secunia.com/advisories/20200/ CRITICAL: Highly critical IMPACT: Manipulation of data, System access WHERE: >From remote SOFTWARE: phpRaid 3.x http://secunia.com/product/10233/ DESCRIPTION: Secunia Research has discovered some vulnerabilities in phpRaid, which can be exploited by malicious people to conduct SQL injection attacks or compromise a vulnerable system. 1) Input passed to the "raid_id" parameter in view.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerability has been confirmed in version 3.0.4. Prior versions may also be affected. 2) Input passed via the URL is not properly sanitised before being used in a SQL query in the "log_hack()" function in includes/functions_logging.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerability has been confirmed in version 3.0.5. Other versions may also be affected. 3) Input passed to the "phpraid_dir" 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. Affected files: configuration.php guilds.php index.php locations.php login.php lua_output.php permissions.php profile.php raids.php register.php roster.php view.php logs.php (included in version 3.0.5) users.php (included in version 3.0.5) Successful exploitation requires that "register_globals" is enabled. The vulnerabilities have been confirmed in version 3.0.4 and 3.0.5. Prior versions may also be affected. SOLUTION: The vulnerabilities have been fixed in version 3.0.6. PROVIDED AND/OR DISCOVERED BY: Sven Krewitt, Secunia Research. ORIGINAL ADVISORY: Secunia Research: http://secunia.com/secunia_research/2006-47/ ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------