Berta CMS Unauthenticated File Upload Vulnerability
Berta CMS is a web based content management system using PHP and local file storage. Due to use of a 3rd party Berta CMS website to redirect links within a phishing email brought to our attention, we checked the file upload functionality of this software. We found that the file upload didn't require authentication. Images with a '.php' extension could be uploaded, and all that was required is that they pass the PHP getimagesize() function and have suitable dimensions. It is possible for GIF image files (and possibly other image files - not tested) to contain arbitrary PHP whilst being well enough formed to pass the getimagesize() function with acceptable dimensions. The patch requires authentication for all file uploads, which will likely resolve any similar issues.