|
vulnerability in Ralf Image Gallery |
|
|
|
|
Wednesday, 21 June 2006 |
David "Aesthetico" Vieira-Kurz has discovered a vulnerability in Ralf Image Gallery (RIG), which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "dir_abs_src" parameter in check_entry.php, admin_album.php, admin_image.php, admin_util.php and admin_translate.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.
The vulnerability has been confirmed in version 0.7 (stable), and also reported in version 0.7.4 (unstable) and 0.6.45.
Solution:
Edit the source code to ensure that input is properly verified.
Provided and/or discovered by:
David "Aesthetico" Vieira-Kurz
Original Advisory:
http://www.majorsecurity.de/advisory/major_rls18.txt |