Dj7xpl and v0l4arrra have reported some vulnerabilities in MonAlbum, which can be exploited by malicious people to disclose sensitive information or compromise a vulnerable system.
1) Input passed to multiple parameters in admin/admin_configuration.php are not properly verified and sanitised before being used to write to the conf/config.inc.php file. These can be exploited to inject and execute arbitrary PHP code.
2) Input passed to the "glangage" parameter in admin/admin_configuration.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
3) Sensitive configuration settings (e.g. administrator user and password) can be retrieved by directly requesting the admin/admin_configuration.php file.
The vulnerabilities are reported in version 0.8.7. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified and sanitised. Restrict access to the "admin" directory (e.g. with a ".htaccess" file).
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org