CVE-2024-12877 GiveWP – Donation Plugin and Fundraising Platform <= 3.19.2 - Unauthenticated PHP Object Injection

Critical 9.8 Published Updated

Unauthenticated attackers can exploit PHP object injection in GiveWP to delete files and achieve remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12877?

CVE-2024-12877 is a critical unsafe deserialization vulnerability in Givewp Givewp, published on 11 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.19.2 via deserialization of untrusted input from the donation form like 'firstName'. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to delete arbitrary files on the server that makes remote code execution possible. Please note this was only partially patched in 3.19.3, a fully sufficient patch was not released until 3.19.4. However, another CVE was assigned by another CNA for version 3.19.3 so we will leave this as affecting 3.19.2 and before. We have recommended the vendor use JSON encoding to prevent any further deserialization vulnerabilities from being present.

Weakness: CWE-502

Which versions are affected by CVE-2024-12877?

It affects 1 product.

Products include Givewp Givewp.

How do I fix CVE-2024-12877?

No fix has been published for CVE-2024-12877 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-12877 being exploited?

There is no known exploitation of CVE-2024-12877 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Givewp Givewp vulnerabilities

Sources

Also known as GHSA-5f2f-4p6w-4m29.

Is CVE-2024-12877 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free