Al7ejaz Hacker has discovered a vulnerability in PHPQuickGallery, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "textFile" parameter in phpquickgallery/gallery_top.inc.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.
The vulnerability is confirmed in version 1.9. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified.
Provided and/or discovered by: Al7ejaz Hacker
Original Advisory: http://www.milw0rm.com/exploits/2814
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