undefined1_ has discovered some vulnerabilities in Crafty Syntax Image Gallery, which can be exploited by malicious users to compromise a vulnerable system and by malicious people to conduct SQL injection attacks.
1) Input passed to the "limitquery_s" parameter in slides.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Images are not properly verified during the upload process. This can be exploited to execute arbitrary PHP code by uploading PHP scripts using manipulated HTTP POST data.
Successful exploitation requires privileges to upload images.
The vulnerabilities have been confirmed in version 3.1g. Other versions may also be affected.
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