SQL injection vulnerability in gallery.php in Ktools PhotoStore 3.4.3 allows remote attackers to execute arbitrary SQL commands via the gid parameter.
https://www.exploit-db.com/exploits/5580
https://exchange.xforce.ibmcloud.com/vulnerabilities/42318