Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
BID:47953
Info
Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
| Bugtraq ID: | 47953 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 24 2011 12:00AM |
| Updated: | May 24 2011 12:00AM |
| Credit: | High-Tech Bridge SA |
| Vulnerable: |
php-development.ru Ajax Chat 1.0 |
| Not Vulnerable: | |
Discussion
Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
Ajax Chat is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Ajax Chat 1.0 is vulnerable; other versions may also be affected.
Ajax Chat is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Ajax Chat 1.0 is vulnerable; other versions may also be affected.
Exploit / POC
Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
To exploit this issue, an attacker must entice an unsuspecting user to follow a malicious URI.
The following example URI is available:
http://www.example.com/ajax-chat/ajax-chat.php?chat_path=%27%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
To exploit this issue, an attacker must entice an unsuspecting user to follow a malicious URI.
The following example URI is available:
http://www.example.com/ajax-chat/ajax-chat.php?chat_path=%27%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
Solution / Fix
Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Ajax Chat 'ajax-chat.php' Cross Site Scripting Vulnerability
References:
References:
- Vendor Homepage (php-development.ru)
- HTB22995: XSS in Ajax Chat (High-Tech Bridge SA)