vendor:
AJAX Chat
by:
Mr. P-teo
7,5
CVSS
HIGH
Persistent XSS
79
CWE
Product Name: AJAX Chat
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE: N/A
CPE: a:mybb:ajax_chat:1
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2012
MyBB AJAX Chat Persistent XSS Vulnerability
The Persistent XSS vulnerability lies within the chat_frame.php page. Although the message is filter with the htmlentities function, the vulnerability occurs with the use of the urldecode function, allowing us to bypass the htmlentities with url encoding. The vulnerability can be exploited via the following line, decoded as - '><img src='XSS' onerror='alert(document.cookie)' />
Mitigation:
Ensure that all user-supplied input is properly sanitized and validated before being used in the application.