H-T TeaM have discovered some vulnerabilities in minimal Gallery, which can be exploited by malicious people to disclose sensitive information.
1) Input passed to the "thumb" and "thumbcat" parameters in _mg/php/mg_thumbs.php is not properly sanitised before being used. This can be exploited to display arbitrary files through directory traversal attacks.
2) It is possible to view certain system information returned by the "phpinfo()" function by accessing the php_info.php script directly.
The vulnerabilities are confirmed in version 0.8. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised. Restrict access to php_info.php (e.g. with ".htaccess").
Provided and/or discovered by: H-T TeaM
Original Advisory: http://milw0rm.com/exploits/4902
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
Subject: minimal Gallery Information Disclosure Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.