Middle School Homework Page Multiple SQL Injection and Cross Site Scripting Vulnerabilities
BID:64712
Info
Middle School Homework Page Multiple SQL Injection and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 64712 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 07 2014 12:00AM |
| Updated: | Jan 07 2014 12:00AM |
| Credit: | AtT4CKxT3rR0r1ST |
| Vulnerable: |
Munchahat Team Middle School Homework Page 1.3 Beta 1 |
| Not Vulnerable: | |
Discussion
Middle School Homework Page Multiple SQL Injection and Cross Site Scripting Vulnerabilities
Middle School Homework Page is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
Exploiting these vulnerabilities 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.
Middle School Homework Page 1.3 Beta 1 is vulnerable; other versions may also be affected.
Middle School Homework Page is prone to an SQL-injection vulnerability and a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
Exploiting these vulnerabilities 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.
Middle School Homework Page 1.3 Beta 1 is vulnerable; other versions may also be affected.
Exploit / POC
Middle School Homework Page Multiple SQL Injection and Cross Site Scripting Vulnerabilities
Attackers can use a browser to exploit this issue. To exploit the cross-site scripting issue, an attacker must entice an unsuspecting user into following a malicious URI.
The following example URIs are available:
For sql-injection vulnerability:
www.example.com/mshwpage/view.php?class=null+and+1=2+union+select+1,concat(name,0x3a,pass)+from+teachinfo
For cross-site-scripting vulnerability:
www.example.com/mshwpage/view.php?class=<script>alert(document.cookie);</script>
Attackers can use a browser to exploit this issue. To exploit the cross-site scripting issue, an attacker must entice an unsuspecting user into following a malicious URI.
The following example URIs are available:
For sql-injection vulnerability:
www.example.com/mshwpage/view.php?class=null+and+1=2+union+select+1,concat(name,0x3a,pass)+from+teachinfo
For cross-site-scripting vulnerability:
www.example.com/mshwpage/view.php?class=<script>alert(document.cookie);</script>
Solution / Fix
Middle School Homework Page Multiple SQL Injection and Cross Site Scripting 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
Middle School Homework Page Multiple SQL Injection and Cross Site Scripting Vulnerabilities
References:
References:
- Middle School Homework Page Download Page (Munchahat Team)