Hello all!
I've been alerted to the fact that on some systems, your config file (album.cfg) can be downloaded directly. In these cases, you should move album.cfg out of your cgi-bin directory, so that is no longer accessible under your web root.
Once you have moved the config file, you'll have to edit album.pl, to tell it where you moved it. This is done by changing the "configfile=" line, which appears near the very beginning of the script.
You may also be able to re-configure your web server to disallow access to .cfg files in your cgi-bin directory, though this is not the simplest solution.
To test if your site is vulnerable, go to your album, and replace the "pl" at the end of the URL with "cfg". Some servers will just throw an internal server error, but others will allow the user to download your configuration.
If you have any questions about this, please post them here.
Cheers