Stay in Touch

Application security insights and invitations to exclusive events in your inbox

Your data will stay confidential Private and Confidential

Cross-site Scripting (XSS) Vulnerabilities in TTChat

Advisory ID:HTB22996
Vulnerable Versions:1.04 and probably prior
Tested Version:1.04
Advisory Publication:May 12, 2011 [without technical details]
Vendor Notification:May 12, 2011
Public Disclosure:May 26, 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)
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered two vulnerabilities in TTChat which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in TTChat
The vulnerability exists due to input sanitation error in the "msg" parameter in default.php and in the "username" parameter in chat_form.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 examples:
http://[host]/default.php?msg=%3Cscript%3Ealert%28document.cookie%29;%3C/scr ipt%3E
http://[host]/chat_form.php?username=%22%3E%3Cscript%3Ealert%28docum ent.cookie%29;%3C/script%3E

ImmuniWeb® On-Demand Web Application Penetration Test

Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.

[1] High-Tech Bridge Advisory HTB22996 - - Cross-site Scripting (XSS) Vulnerabilities in TTChat
[2] TTChat - - TTChat is an online chat system.
[3] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

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.
Quick Start
Free Trial