The uploadFile function in upload/index.php in CosCMS before 1.822 allows remote administrators to execute arbitrary commands via shell metacharacters in the name of an uploaded file.
https://www.htbridge.com/advisory/HTB23145
https://github.com/diversen/gallery/commit/7d58f870e8edc6597485dd1b80ea9fb78580190c
http://www.coscms.org/blog/view/4/Version-1.822
http://archives.neohapsis.com/archives/bugtraq/2013-03/0033.html