phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
BID:47567
Info
phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 47567 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 25 2011 12:00AM |
| Updated: | Apr 25 2011 12:00AM |
| Credit: | AutoSec Tools |
| Vulnerable: |
phpMyChat phpMyChat Plus 1.9 |
| Not Vulnerable: | |
Discussion
phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
phpMyChat Plus is prone to a cross-site scripting vulnerabilities and multiple SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
phpMyChat Plus 1.93 is vulnerable; other versions may also be affected.
phpMyChat Plus is prone to a cross-site scripting vulnerabilities and multiple SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
phpMyChat Plus 1.93 is vulnerable; other versions may also be affected.
Exploit / POC
phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs and data available:
http://www.example.com/myseat/web/classes/autocomplete.php?field=[xss]
POST /plus/lurking.php HTTP/1.1
Host: localhost
Proxy-Connection: keep-alive
User-Agent: x
Content-Length: 0
Cache-Control: max-age=0
Origin: null
Content-Type: multipart/form-data; boundary=----x
Cookie: CookieUsername=[SQL]; CookieStatus=[SQL]; CookieRoom=x; CookieLang=x; CookieUserSort=x
Accept: text/html
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs and data available:
http://www.example.com/myseat/web/classes/autocomplete.php?field=[xss]
POST /plus/lurking.php HTTP/1.1
Host: localhost
Proxy-Connection: keep-alive
User-Agent: x
Content-Length: 0
Cache-Control: max-age=0
Origin: null
Content-Type: multipart/form-data; boundary=----x
Cookie: CookieUsername=[SQL]; CookieStatus=[SQL]; CookieRoom=x; CookieLang=x; CookieUserSort=x
Accept: text/html
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Solution / Fix
phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
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
phpMyChat Plus Multiple Cross Site Scripting and SQL Injection Vulnerabilities
References:
References:
- phpMyChat Homepage (phpHeaven)