CVE-2024-9634·PHP vulnerability
The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.16.3 via deserialization of untrusted input from the give_company_name parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to achieve remote code execution.
- Severity
- critical
- Software
- PHP
- Fixed in
- 3.16.4
- Published
- 2024-10-16
Affected versions
Until: 3.16.4
Fixed in: 3.16.4
How to fix this CVE
Update the GiveWP plugin to version 3.16.4 or later immediately to patch the PHP object injection vulnerability. If you cannot update immediately, disable the GiveWP plugin and review recent donation transactions for suspicious activity. Organizations using GiveWP should prioritize this update as the vulnerability allows unauthenticated remote code execution through parameter tampering.
sudo dnf update php php-common php-cli php-fpmDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST request containing 'give_company_name' parameter with serialized PHP object pattern (O:[0-9]+:"[a-zA-Z]+":[0-9]+:\{) or requests with base64-encoded serialized objects in give_company_nameWAF 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 requests where the give_company_name parameter contains serialized PHP object patterns (regex: O:[0-9]+:) or base64-encoded strings that decode to serialized objects. Additionally, restrict POST requests to donation endpoints to only accept alphanumeric and common business characters in the give_company_name field.How to check if you are affected
- Check WordPress plugin version: Log into WordPress admin panel, navigate to Plugins, and verify GiveWP version is 3.16.4 or higher
- Inspect the give_company_name parameter in recent HTTP requests: grep -r 'give_company_name' /var/log/apache2/access.log /var/log/nginx/access.log to identify POST requests containing this parameter
- Search web server logs for serialized PHP object patterns: grep -E 'O:[0-9]+:' /var/log/apache2/access.log /var/log/nginx/access.log for evidence of object injection attempts
- Verify the patch by checking the GiveWP plugin directory: cat /path/to/wordpress/wp-content/plugins/give/give.php | grep 'Version:' and confirm version >= 3.16.4
FAQ
What is CVE-2024-9634?
CVE-2024-9634 is a critical PHP object injection vulnerability in GiveWP versions up to 3.16.3 that allows unauthenticated attackers to inject malicious serialized PHP objects through the give_company_name parameter, potentially leading to remote code execution via POP chain exploitation.
Is CVE-2024-9634 being actively exploited?
According to CISA's Known Exploited Vulnerabilities catalog, CVE-2024-9634 is not currently listed as actively exploited in the wild, but public awareness and the critical CVSS score of 9.8 mean organizations should treat this as a high-priority remediation.
What versions of GiveWP are affected by CVE-2024-9634?
All versions of the GiveWP plugin up to and including version 3.16.3 are vulnerable. The vulnerability was fixed in version 3.16.4 and later releases.
How do I check if my WordPress site is vulnerable to CVE-2024-9634?
In WordPress admin panel, go to Plugins and locate GiveWP – Donation Plugin. If the version shown is 3.16.3 or earlier, your site is vulnerable. Alternatively, check the wp-content/plugins/give/give.php file and grep for 'Version:' to confirm the installed version.
Does Defensia detect CVE-2024-9634?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the GiveWP plugin is detected on a monitored WordPress installation, CVE-2024-9634 will appear in your dashboard with remediation steps and severity alerts.
Related PHP CVEs
References
- https://plugins.trac.wordpress.org/browser/give/tags/3.16.2/src/Donations/Repositories/DonationRepository.php?rev=3157829
- https://plugins.trac.wordpress.org/changeset/3166836/give/tags/3.16.4/includes/process-donation.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b8eb3aa9-fe60-48b6-aa24-7873dd68b47e?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-9634. Free for 1 server.
Get started free