Description
newimage.php in Eric Gerdes Crafty Syntax Image Gallery (CSIG) (aka PHP thumbnail Photo Gallery) 3.1g and earlier allows remote authenticated users to upload and execute arbitrary PHP code via a multipart/form-data POST with a .jpg filename in the fullimage parameter and the ext parameter set to .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
- 24387 vdb-entry
- crafty-http-post-code-execution(25655) vdb-entry
- http://bash-x.net/undef/exploits/crappy_syntax.txt
- http://bash-x.net/undef/adv/craftygallery.html
- 1645 exploit
- 19478 third-party-advisory