Corrado Liotta has discovered a vulnerability in ImgPals Photo Host, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed via the "u" parameter to approve.php (when "a" is set to "app0" or "app1) is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
The vulnerability is confirmed in version 1.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Corrado Liotta.
Original Advisory: http://seclists.org/fulldisclosure/2012/Feb/448
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 email@example.com