critical CVSS 10

CVE-2024-5932·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.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

Severity
critical
Software
PHP
Fixed in
3.14.2
Published
2024-08-20

Affected versions

Until: 3.14.2

Fixed in: 3.14.2

How to fix this CVE

WordPress sites running the GiveWP donation plugin must update to version 3.14.2 or later immediately to patch a critical PHP object injection vulnerability. The flaw allows unauthenticated attackers to execute arbitrary PHP code by manipulating the 'give_title' parameter. Verify the plugin version in your WordPress admin dashboard and apply the update without delay, as no public exploits are currently known but the attack surface is wide.

sudo dnf update php php-common php-cli php-fpm -y

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST requests to donation processing endpoints with malicious serialized PHP objects in the 'give_title' parameter; look for patterns like 'O:.*:.*:{.*}' or base64-encoded serialized data in request logs, often accompanied by unusual class instantiation attempts targeting tcpdf or ValidGenerator.

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement input validation rules to reject requests containing serialized PHP object syntax (patterns matching 'O:\d+:' or 'a:\d+:') in the 'give_title' GET/POST parameter; additionally, block requests with suspicious base64 payloads that decode to PHP serialization markers; ensure ModSecurity or equivalent WAF rules detect and log such attempts for investigation.

How to check if you are affected

  1. Check GiveWP plugin version: Log into WordPress admin panel, navigate to Plugins, and locate GiveWP – Donation Plugin to verify the installed version number is below 3.14.2.
  2. Verify plugin file location: Run `find /var/www/html -type d -name 'give' 2>/dev/null` to locate the plugin directory and confirm its presence on the web server.
  3. Inspect PHP error logs: Execute `tail -50 /var/log/php-fpm/error.log` and `tail -50 /var/log/apache2/error.log` to check for unserialize() warnings or PHP object injection attempts.
  4. Confirm the patch: After updating, re-check the plugin version in the WordPress admin dashboard and verify it shows 3.14.2 or higher; alternatively, check the plugin's readme.txt file: `grep 'Stable tag:' /path/to/wp-content/plugins/give/readme.txt`.

FAQ

What is CVE-2024-5932?

CVE-2024-5932 is a critical PHP object injection vulnerability in the GiveWP WordPress donation plugin that allows unauthenticated attackers to deserialize malicious PHP objects through the 'give_title' parameter, potentially leading to remote code execution and arbitrary file deletion.

Is CVE-2024-5932 being actively exploited?

No, CVE-2024-5932 is not currently listed on the CISA Known Exploited Vulnerabilities catalog, and no public exploits have been released, though the critical CVSS 10.0 score and network-accessible nature make it a high priority for patching.

What versions of GiveWP are affected by CVE-2024-5932?

All versions of the GiveWP plugin up to and including 3.14.1 are vulnerable; version 3.14.2 and later contain the fix.

How do I check if my WordPress site is vulnerable to CVE-2024-5932?

Log into your WordPress admin dashboard, go to Plugins, find GiveWP – Donation Plugin, and check if the version number is 3.14.1 or earlier; if so, your site is vulnerable and requires immediate updating.

Does Defensia detect CVE-2024-5932?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If GiveWP is installed and active on a monitored WordPress site, CVE-2024-5932 will appear in your dashboard with remediation steps and update guidance.

Related PHP CVEs

CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.
CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.

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-5932. Free for 1 server.

Get started free