{"summary":{"plugin_name":"wp-database-backup","display_name":"WP Database Backup – Unlimited Database & Files Backup by Backup for WP","version":"7.15","risk_level":"medium","risk_score":32.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"rest_routes":2},"last_analyzed":"2026-11-23T12:41:14.353327","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":90,"num_ratings":102,"tested":"7.1.5","requires":"6.5","requires_php":"5.6.20","author":"Backup For WP","short_description":"Create & Restore Database Backup easily on single click. Manual or automated backups (backup to Dropbox, Google drive, Amazon s3,FTP,Email).","tags":["backup","cloud backup","database backup","files backup","wordpress backup"],"added":"2014-03-21","last_updated":"2026-11-17 6:45am GMT","metadata_fetched_at":"2026-11-22T22:02:01.414309+00:00","modules_missing":[],"modules_failed":[],"latest_release":"7.15"},"security_metrics":{"total_issues":146,"parameters_found":91,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":2,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":1,"owasp_findings":{"A01":7,"A02":6,"A03":3,"A04":1,"A08":1,"A10":1},"attack_surface_level":"large","attack_surface_score":102,"tainted_sinks":79,"tainted_sql":0,"tainted_ssrf":1,"tainted_file_ops":6,"auth_bypass_sinks":0,"dangerous_patterns":9},"comparison":{"percentile":64.4,"rank":179026,"peer_count":502209,"better_than":64.4,"risk_distribution":{"low":102043,"high":178209,"medium":121581,"critical":38915,"minimal":61461}},"executive_summary":null,"vulnerabilities":[{"id":"6b9e2d2e-9586-4a9f-a845-72d96151e3ae","title":"WP Database Backup <= 3.3 - Authenticated Stored Cross-Site Scripting (XSS)","created_at":"2015-11-23T15:55:08.000Z","updated_at":"2019-10-31T22:19:43.000Z","published_date":"2015-08-20T00:00:00.000Z","vuln_type":"XSS","references":{"url":["http://cinu.pl/research/wp-plugins/mail_734e4ce49cef386aa6e0f4a646825ade.html","http://blog.cinu.pl/2015/11/php-static-code-analysis-vs-top-1000-wordpress-plugins.html"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"3.4","introduced_in":null},{"id":"82e5e687-e45c-405a-a892-b8e3de192f5c","title":"WP Database Backup <= 4.3.5 - Cross-Site Request Forgery (CSRF)","created_at":"2016-11-02T12:03:04.000Z","updated_at":"2019-11-01T09:35:04.000Z","published_date":"2016-10-28T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.pluginvulnerabilities.com/2016/10/28/vulnerability-details-cross-site-request-forgery-csrf-vulnerability-in-wp-database-backup/","https://plugins.trac.wordpress.org/changeset/1519207"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.3.6","introduced_in":null},{"id":"7d2cb22b-84ef-4b9c-8116-5a0e0eb0c521","title":"WP Database Backup < 5.2 - Unauthenticated OS Command Injection","created_at":"2019-05-29T09:28:56.000Z","updated_at":"2019-11-27T23:00:38.000Z","published_date":"2019-04-24T00:00:00.000Z","vuln_type":"BYPASS","references":{"url":["https://www.wordfence.com/blog/2019/05/os-command-injection-vulnerability-patched-in-wp-database-backup-plugin/","https://plugins.trac.wordpress.org/changeset/2078035/wp-database-backup","https://blog.sucuri.net/2019/06/os-command-injection-in-wp-database-backup.html","https://packetstormsecurity.com/files/153781/"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"5.2","introduced_in":null},{"id":"64b584b7-7f80-4b68-bb8f-18e8c36e962a","title":"WP Database Backup < 5.1.2 - XSS","created_at":"2019-08-21T14:24:30.000Z","updated_at":"2020-09-22T07:31:06.000Z","published_date":"2019-04-22T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2019-14949"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"5.1.2","introduced_in":null},{"id":"d39af043-e946-4a55-9080-5e2c57778b26","title":"WP Database Backup < 4.3.3 - CSRF & XSS","created_at":"2019-08-24T18:43:00.000Z","updated_at":"2020-09-22T07:36:37.000Z","published_date":"2016-08-04T00:00:00.000Z","vuln_type":"MULTI","references":{"cve":["2016-10873","2016-10874"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.3.3","introduced_in":null},{"id":"89b714da-f431-4773-92e0-4d7620ccc50f","title":"WP Database Backup < 4.3.1 - CSRF & XSS","created_at":"2019-08-24T18:43:59.000Z","updated_at":"2020-09-22T07:36:38.000Z","published_date":"2016-08-01T00:00:00.000Z","vuln_type":"MULTI","references":{"cve":["2016-10875"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.3.1","introduced_in":null},{"id":"b064940f-9614-4b7b-b2c4-e79528746833","title":"WP Database Backup < 5.9 - Admin+ Stored Cross-Site Scripting","created_at":"2022-08-15T11:11:51.000Z","updated_at":"2023-05-08T07:00:55.000Z","published_date":"2022-08-15T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2022-2271"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"5.9","introduced_in":null},{"id":"0e6d1f3e-07c3-4901-b733-a795fb61b661","title":"WP Database Backup < 7.4 - Unauthenticated Database Back-Up Exposure","created_at":"2025-01-13T12:08:44.000Z","updated_at":"2025-01-13T12:08:44.000Z","published_date":"2025-01-08T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/3f36839b-850e-4c39-aa61-4fd7a89cd5bc"],"cve":["2024-12330"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"7.4","introduced_in":null},{"id":"965b61e7-3429-4f9b-af4d-1a993576232d","title":"WP Database Backup < 7.12 - Admin+ OS Command Injection via wp_db_exclude_table Parameter","created_at":"2026-07-02T17:17:49.000Z","updated_at":"2026-07-02T17:17:49.000Z","published_date":"2026-07-01T00:00:00.000Z","vuln_type":"COMMAND INJECTION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/0a97a217-b00b-4268-a472-8d62ae1d18e3"],"cve":["2026-9834"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"7.12","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":7,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route '/cron_backup/(?P<token>[a-zA-Z0-9]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/cron_backup/(?P<token>[a-zA-Z0-9]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'file_delete' sink x1 - 1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer","Reachable 'file_write' sink x3 - 3 attacker-reachable 'file_write' sink(s) found by the reachability analyzer","Reachable 'file_read' sink x2 - 2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"]},{"category":"A03","name":"Injection","severity":"high","findings_count":3,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","Reachable 'file_include' sink x61 - 61 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x7 - Interpolated variable in SQL query string (7 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"medium","findings_count":6,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'wpdb_dest_bb_s3_bucket_secret' - Sensitive data exposure","Parameter 'wpdb_dest_generics3_bucket_secret' - Sensitive data exposure","Parameter 'wpdb_dest_google_secret_key' - Sensitive data exposure","Parameter 'wpdb_dest_amazon_s3_bucket_secret' - Sensitive data exposure","Parameter 'enable_backup_encryption' - Sensitive data exposure"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x2 - 2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x1 - 1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 11 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/cron_backup/(?P<token>[a-zA-Z0-9]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/cron_backup/(?P<token>[a-zA-Z0-9]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"file_delete","count":1,"risk":"1 attacker-reachable 'file_delete' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_write","count":3,"risk":"3 attacker-reachable 'file_write' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_read","count":2,"risk":"2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"option_update","count":8,"risk":"8 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"rest_no_permission","count":2,"severity":"high","examples":["includes/admin/cron-create-full-backup.php:59","includes/admin/cron-create-full-backup-incremental.php:133"],"risk":"REST endpoint with no permission check (2 occurrence(s))"}],"A02":[{"type":"parameter","name":"wpdb_dest_bb_s3_bucket_secret","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Backblaze/bb-form.php","line":32,"offset":1617,"snippet":"$_POST['wpdb_dest_bb_s3_bucket_secret']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Backblaze/bb-form.php","line":33,"offset":1768,"snippet":"$_POST['wpdb_dest_bb_s3_bucket_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"wpdb_dest_generics3_bucket_secret","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/GenericS3/generics3-form.php","line":32,"offset":1690,"snippet":"$_POST['wpdb_dest_generics3_bucket_secret']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/GenericS3/generics3-form.php","line":33,"offset":1849,"snippet":"$_POST['wpdb_dest_generics3_bucket_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"wpdb_dest_google_secret_key","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":28,"offset":1242,"snippet":"$_POST['wpdb_dest_google_secret_key']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":29,"offset":1348,"snippet":"$_POST['wpdb_dest_google_secret_key']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":38,"offset":1927,"snippet":"$_POST['wpdb_dest_google_secret_key']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":39,"offset":2033,"snippet":"$_POST['wpdb_dest_google_secret_key']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":61,"offset":3262,"snippet":"$_POST['wpdb_dest_google_secret_key']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/Google/google-form.php","line":61,"offset":3314,"snippet":"$_POST['wpdb_dest_google_secret_key']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"wpdb_dest_amazon_s3_bucket_secret","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/S3/s3-form.php","line":28,"offset":1437,"snippet":"$_POST['wpdb_dest_amazon_s3_bucket_secret']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/Destination/S3/s3-form.php","line":29,"offset":1596,"snippet":"$_POST['wpdb_dest_amazon_s3_bucket_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"enable_backup_encryption","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/class-wpdb-admin.php","line":292,"offset":11868,"snippet":"$_POST['enable_backup_encryption']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"backup_encryption_pass","locations":{"POST":[{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/class-wpdb-admin.php","line":313,"offset":12761,"snippet":"$_POST['backup_encryption_pass']"},{"file":"/plugins/wp-database-backup/tags/7.15/includes/admin/class-wpdb-admin.php","line":314,"offset":12911,"snippet":"$_POST['backup_encryption_pass']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wp-database-backup/tags/7.15/includes/admin/class-wpdb-admin.php","line":1628},{"type":"reachability_sink","sink":"file_include","count":61,"risk":"61 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":7,"severity":"critical","examples":["includes/admin/cron-create-full-backup.php:366","includes/admin/cron-create-full-backup.php:374","includes/admin/cron-create-full-backup.php:382"],"risk":"Interpolated variable in SQL query string (7 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":11,"risk":"11 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":2,"risk":"2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}