|
Fancy Gallery Plugin for WordPress contains a flaw that allows a remote user to execute arbitrary PHP code. This flaw exists because the image-upload.php script does not properly verify or sanitize user-uploaded files. By uploading a .php file with multiple file extensions (e.g. myfile.php.gif), the upload will bypass the sanity check that presumably restricts file uploads to images. Once uploaded, the remote system will place the file in a user-accessible path. Making a direct request to the uploaded file will allow the user to execute the script, and therefore their own code.
|