Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Cross-site Scripting (XSS) Vulnerability in Ajax Chat

Advisory ID:HTB22995
Product:Ajax Chat
Vendor:Ajax Chat Team
Vulnerable Versions:1 and probably prior
Tested Version:1
Advisory Publication:May 10, 2011 [without technical details]
Vendor Notification:May 10, 2011
Public Disclosure:May 24, 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 vulnerability in Ajax Chat which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in Ajax Chat
The vulnerability exists due to input sanitation error in the "chat_path" parameter in ajax-chat/ajax-chat.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 example:
http://[host]/ajax-chat/ajax-chat.php?chat_path=%27%3C/script%3E%3Cscript%3E alert%28document.cookie% 29;%3C/script%3E

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
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.


References:
[1] High-Tech Bridge Advisory HTB22995 - https://www.immuniweb.com/advisory/HTB22995 - Cross-site Scripting (XSS) Vulnerability in Ajax Chat
[2] Ajax Chat - php-development.ru - Ajax Chat is an online chat 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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential