Patch
CVE-2024-1981
with vRx
Before remediation, let's confirm the provided WordPress instance is indeed vulnerable:
kali@kali:~$ python3 detection.py --url http://localhost
[*] Started the scan...
[+] The WordPress instance seems to be vulnerable to CVE-2024-1981.
It is! Let's confirm the same by getting the version for the wpvivid-backuprestore plugin:
kali@kali:~$ curl -s http://localhost/wp-content/plugins/wpvivid-backuprestore/readme.txt | grep "Stable tag: " | cut -d: -f2 | tr -d ' '
0.9.68
Perfect! It is 0.9.68, which is indeed vulnerable to SQLi.
kali@kali:~$ docker exec -it cve-2024-1698_wordpress_1 bash
root@962281f18fbd:/var/www/html#
root@962281f18fbd:/var/www/html# bash /tmp/remediation.sh
Downloading update from https://downloads.wordpress.org/plugin/wpvivid-backuprestore.0.9.96.zip...
Using cached file '/root/.wp-cli/cache/plugin/wpvivid-backuprestore-0.9.96.zip'...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
+-----------------------+-------------+-------------+---------+
| name | old_version | new_version | status |
+-----------------------+-------------+-------------+---------+
| wpvivid-backuprestore | 0.9.68 | 0.9.96 | Updated |
+-----------------------+-------------+-------------+---------+
Success: Updated 1 of 1 plugins.
[+] Instance successfully patched and protected from CVE-2024-1981!
root@962281f18fbd:/var/www/html#
kali@kali:~$ curl -s http://localhost/wp-content/plugins/wpvivid-backuprestore/readme.txt | grep "Stable tag: " | cut -d: -f2 | tr -d ' '
0.9.96
kali@kali:~$ python3 detection.py --url http://localhost
[*] Started the scan...
[-] The WordPress instance seems NOT to be vulnerable to CVE-2024-1981.
Read more
Read less
Patch faster and smarter
with vRx
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Trusted by 600+ customers:




Solution
Remediate faster with vRx
Patch Management
vRx automatically deploys patches across all systems, cutting patching time by 80%.
Scripting Engine
vRx’s scripting engine solves complex vulnerabilities, like log4j, with built-in or custom scripts.
Patchless Protection
vRx’s Patchless Protection secures vulnerable apps and reduces risk while maintaining functionality.

Automated Patching, Scripting, and more
Talk with our team to get a personal walkthrough
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.