class.showtime2_image.php in CMS Made Simple (CMSMS) before 2.2.10 does not ensure that a watermark file has a standard image file extension (GIF, JPG, JPEG, or PNG).Referenceshttp://viewsvn.cmsmadesimple.org/diff.php?repname=showtime2&path=%2Ftrunk%2Flib%2Fclass.showtime2_image.php&rev=47https://forum.cmsmadesimple.org/viewtopic.php?f=1&t=80285https://www.exploit-db.com/exploits/46546/http://packetstormsecurity.com/files/152269/CMS-Made-Simple-CMSMS-Showtime2-File-Upload-Remote-Command-Execution.htmlhttp://www.rapid7.com/db/modules/exploit/multi/http/cmsms_showtime2_rcehttps://www.exploit-db.com/exploits/46627/