TITLE: tinyBB SQL Injection and File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA20356 VERIFY ADVISORY: http://secunia.com/advisories/20356/ CRITICAL: Highly critical IMPACT: Manipulation of data, System access WHERE: >From remote SOFTWARE: tinyBB 0.x http://secunia.com/product/10211/ DESCRIPTION: Mustafa Can Bjorn has discovered some vulnerabilities in tinyBB, which can be exploited by malicious people to conduct SQL injection attacks and to compromise a vulnerable system. 1) Input passed to the "tinybb_footers" parameter in footers.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources. Successful exploitation requires that "register_globals" is enabled. 2) Input passed to the "username" and "password" parameters in login_form.php, and to the "q" parameter in forgot.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. The vulnerabilities have been confirmed in version 0.3. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: Mustafa Can Bjorn ORIGINAL ADVISORY: http://www.nukedx.com/?viewdoc=33 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------