CVE-2024-9664·PHP vulnerability
The WP All Import Pro plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.9.7 via deserialization of untrusted input from an import file. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software. 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
- 4.9.8
- Published
- 2025-02-07
Affected versions
Until: 4.9.8
Fixed in: 4.9.8
How to fix this CVE
Update WP All Import Pro to version 4.9.8 or later immediately. The vulnerability allows authenticated administrators to inject arbitrary PHP objects during import file processing, which could lead to code execution if a gadget chain exists in the WordPress environment. Ensure all plugins and themes are also kept current to minimize the risk of chained exploitation.
sudo dnf update phpDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed WP All Import Pro version by running: grep -r "Version:" /path/to/wordpress/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php | head -1
- Step 2: Verify if the plugin is active by querying WordPress: wp plugin list | grep wp-all-import-pro (using WP-CLI on the server)
- Step 3: Search WordPress debug logs for deserialization errors: grep -i "unserialize\|object\|injection" /path/to/wordpress/wp-content/debug.log | grep -i "wp-all-import"
- Step 4: Confirm the patch by verifying the plugin version is 4.9.8 or higher: wp plugin get wp-all-import-pro --field=version
FAQ
What is CVE-2024-9664?
CVE-2024-9664 is a PHP Object Injection vulnerability in WP All Import Pro that occurs when the plugin deserializes untrusted data from import files without validation. An authenticated administrator could craft a malicious import file to inject arbitrary objects, potentially enabling code execution if gadget chains exist in other plugins or themes.
Is CVE-2024-9664 being actively exploited?
No, CVE-2024-9664 is not listed in the CISA KEV catalog and has no known public exploits available. However, the vulnerability requires administrator access, limiting its practical exploitation scope.
What versions of WP All Import Pro are affected by CVE-2024-9664?
All versions up to and including 4.9.7 are vulnerable. Version 4.9.8 and later contain the fix.
How do I check if my WordPress site is vulnerable to CVE-2024-9664?
Run: wp plugin get wp-all-import-pro --field=version to determine the installed version. If it returns 4.9.7 or earlier, your site is vulnerable.
Does Defensia detect CVE-2024-9664?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If WP All Import Pro is detected on a monitored WordPress installation, CVE-2024-9664 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-9664. Free for 1 server.
Get started free