---------------------------------------------------------------------- Get a tax break on purchases of Secunia Solutions! If you are a U.S. company, you may be qualified for a tax break for your software purchases. Learn more at: http://secunia.com/products/corporate/vim/section_179/ ---------------------------------------------------------------------- TITLE: Batavi Cross-Site Scripting and Local File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA43376 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/43376/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=43376 RELEASE DATE: 2011-03-05 DISCUSS ADVISORY: http://secunia.com/advisories/43376/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/43376/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=43376 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: AutoSec Tools has discovered multiple vulnerabilities in Batavi, which can be exploited by malicious people to conduct cross-site scripting attacks and disclose sensitive information. 1) Input passed via the "mID" parameter to admin/templates/pages/event_manager/edit.php, "store_root" parameter to admin/ext/color_picker/default.php, and "altmethodpayload" parameter to ext/xmlrpc/debugger/controller.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. 2) Input passed via various parameters to multiple scripts is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal sequences and URL-encoded NULL bytes. Examples: http://[host]/admin/templates/pages/templates_boxes/info.php?module=[path] http://[host]/admin/templates/pages/images/main.php?module=[path] http://[host]/admin/templates/pages/statistics/main.php?module=[path] http://[host]/admin/templates/pages/templates/batch_delete.php?template=[path] http://[host]/admin/templates/pages/templates/delete_rule.php?template=[path] http://[host]/admin/templates/pages/templates/edit.php?template=[path] http://[host]/admin/templates/pages/templates/edit_rule.php?template=[path] http://[host]/admin/templates/pages/templates/info.php?template=[path] http://[host]/admin/templates/pages/templates/uninstall.php?template=[path] http://[host]/admin/templates/pages/export/download.php?file=[path] http://[host]/admin/templates/pages/page_layout/main.php?filter=[path] Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled. The vulnerabilities are confirmed in version 1.0. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised and verified. PROVIDED AND/OR DISCOVERED BY: AutoSec Tools ORIGINAL ADVISORY: AutoSec Tools: http://www.autosectools.com/Advisories/Batavi.1.0_Reflected.Cross-site.Scripting_115.html http://www.autosectools.com/Advisories/Batavi.1.0_Local.File.Inclusion_116.html OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users 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 ----------------------------------------------------------------------