LinPHA is easy to use, multilingual, flexible photo/image archive/album/gallery written in PHP. It uses a SQL database to store information about your pictures. It comes with a HTML based installer, so you don't need experience in setting up SQL DB
II. Bug
There is a bug in the code that allows a possible attacker to bypass the authentication of the linpha admin. It can do it without using a password, you only have to modify the cookies of the session, and then browsing the admin.php script
The bug is located aproximately in [25] of the session.php file: