CVE-2024-3054·PHP vulnerability
WPvivid Backup & Migration Plugin for WordPress is vulnerable to PHAR Deserialization in all versions up to, and including, 0.9.99 via deserialization of untrusted input at the wpvividstg_get_custom_exclude_path_free action. This is due to the plugin not providing sufficient path validation on the tree_node[node][id] parameter. This makes it possible for authenticated attackers, with admin-level access and above, to call files using a PHAR wrapper that will deserialize the data and call arbitrary PHP Objects. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.
- Severity
- high
- Software
- PHP
- Fixed in
- 0.9.100
- Published
- 2024-04-12
Affected versions
Until: 0.9.100
Fixed in: 0.9.100
How to fix this CVE
Update the WPvivid Backup & Migration Plugin to version 0.9.100 or later to resolve a PHAR deserialization vulnerability that could allow authenticated administrators to instantiate arbitrary PHP objects. This vulnerability requires admin-level access and the presence of a PHP Object Injection gadget chain on the target system to achieve meaningful impact. Immediately patch all affected WordPress installations running plugin versions prior to 0.9.100.
sudo dnf update php -yDefensia detects this vulnerability
WAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement WAF rules to block POST requests to WordPress admin-ajax.php containing the 'action=wpvividstg_get_custom_exclude_path_free' parameter combined with 'tree_node[node][id]' containing PHAR:// or PHP:// wrapper protocols. Additionally, restrict admin-ajax.php access to known administrative IP ranges to limit exposure to authenticated attackers.How to check if you are affected
- Step 1: Check installed PHP version with: php -v
- Step 2: Log into WordPress admin panel and navigate to Plugins to verify WPvivid Backup & Migration version is below 0.9.100
- Step 3: Search WordPress plugin directory logs for requests containing 'wpvividstg_get_custom_exclude_path_free' action hooks paired with 'tree_node[node][id]' parameters and PHAR wrapper references
- Step 4: After updating WPvivid to 0.9.100+, re-check the plugin version in WordPress admin and confirm the path validation improvements are in place
FAQ
What is CVE-2024-3054?
CVE-2024-3054 is a PHAR deserialization vulnerability in the WPvivid Backup & Migration WordPress plugin that allows authenticated administrators to trigger unsafe deserialization of untrusted input through improper validation of the tree_node parameter, potentially leading to arbitrary object instantiation if a gadget chain exists.
Is CVE-2024-3054 being actively exploited?
No, CVE-2024-3054 is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploit code is currently available.
What versions of PHP are affected by CVE-2024-3054?
The vulnerability affects WPvivid Backup & Migration Plugin versions up to and including 0.9.99; it was fixed in version 0.9.100 and later.
How do I check if my server is vulnerable to CVE-2024-3054?
Log into WordPress admin dashboard, navigate to Plugins, and locate WPvivid Backup & Migration; if the version number displayed is 0.9.99 or lower, your installation is vulnerable.
Does Defensia detect CVE-2024-3054?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the WPvivid Backup & Migration plugin is active on a monitored WordPress server, CVE-2024-3054 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3067224%40wpvivid-backuprestore&new=3067224%40wpvivid-backuprestore&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/bf26fc68-9fd4-4e4e-b34f-c947d95891f9?source=cve
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3067224%40wpvivid-backuprestore&new=3067224%40wpvivid-backuprestore&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/bf26fc68-9fd4-4e4e-b34f-c947d95891f9?source=cve
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-3054. Free for 1 server.
Get started free