---------------------------------------------------------------------- Do you need accurate and reliable IDS / IPS / AV detection rules? Get in-depth vulnerability details: http://secunia.com/binary_analysis/sample_analysis/ ---------------------------------------------------------------------- TITLE: Tribiq CMS "template_path" Cross-Site Scripting and Local File Inclusion SECUNIA ADVISORY ID: SA32548 VERIFY ADVISORY: http://secunia.com/advisories/32548/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Exposure of system information, Exposure of sensitive information WHERE: >From remote SOFTWARE: Tribiq CMS 5.x http://secunia.com/advisories/product/20312/ DESCRIPTION: Some vulnerabilities have been discovered in Tribiq CMS, which can be exploited by malicious people to conduct cross-site scripting attacks or to disclose sensitive information. 1) Input passed to the "template_path" parameter in templates/mytribiqsite/tribal-GPL-1066/includes/header.inc.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks. Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled. 2) Input passed to the "template_path" parameter in templates/mytribiqsite/tribal-GPL-1066/includes/header.inc.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Successful exploitation requires that "register_globals" is enabled. The vulnerabilities are confirmed in version 5.0.10a. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified and sanitised. PROVIDED AND/OR DISCOVERED BY: 1) GoLd_M 2) an anonymous researcher ORIGINAL ADVISORY: http://milw0rm.com/exploits/6888 ---------------------------------------------------------------------- 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/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/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 ----------------------------------------------------------------------