---------------------------------------------------------------------- Want a new IT Security job? Vacant positions at Secunia: http://secunia.com/secunia_vacancies/ ---------------------------------------------------------------------- TITLE: osTicket Multiple Vulnerabilities SECUNIA ADVISORY ID: SA15216 VERIFY ADVISORY: http://secunia.com/advisories/15216/ CRITICAL: Highly critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: osTicket 1.x http://secunia.com/product/5033/ DESCRIPTION: James Bercegay has reported some vulnerabilities in osTicket, which can be exploited by malicious users to conduct SQL injection attacks, and by malicious people to conduct cross-site scripting and script insertion attacks, disclose sensitive information and compromise a vulnerable system. 1) Some input isn't 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 a vulnerable site. Examples: http://[victim]/view.php?e=test@test.com&t=480826[code] http://[victim]/include/header.php?osticket_title=%3C/title%3E[code] http://[victim]/include/admin_login.php?em=asdf[code] http://[victim]/include/user_login.php?e=asdf[code] http://[victim]/include/open_submit.php?err=[code] 2) Input passed to the name and subject fields when adding a ticket isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed. 3) Input passed to the "id" and "cat" parameters 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 user to be authenticated. 4) Input passed to the "include_dir" parameter in "main.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. 5) An input validation error in the handling of the "file" parameter in "attachments.php" can be exploited to disclose arbitrary files via directory traversal attacks. Successful exploitation requires that file uploads are enabled (not default setting). SOLUTION: The vulnerabilities have reportedly been fixed by the vendor. PROVIDED AND/OR DISCOVERED BY: James Bercegay, GulfTech Security Research Team ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------