Description
SQL injection vulnerability in slides.php in Eric Gerdes Crafty Syntax Image Gallery (CSIG) (aka PHP thumbnail Photo Gallery) 3.1g and earlier allows remote authenticated users to execute arbitrary SQL commands via the limitquery_s parameter when the $projectid variable is less than 1, which prevents the $limitquery_s from being set within slides.php.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Crafty Syntax Image Gallery 3.1g - Remote Code Execution EDB-1645 · webapps · Apr 4, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- ADV-2006-1239 vdb-entry
- 17379 vdb-entry
- 24386 vdb-entry
- http://bash-x.net/undef/exploits/crappy_syntax.txt
- crafty-slides-sql-injection(25654) vdb-entry
- http://bash-x.net/undef/adv/craftygallery.html
- 1645 exploit
- 19478 third-party-advisory