CVE-2024-5804 Conditional Fields for Contact Form 7 <= 2.4.13 - Cross-Site Request Forgery to Plugin Setting Reset

Medium 4.3 Published Updated

Unauthenticated attackers can reset plugin settings by tricking administrators into clicking a link due to missing nonce validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5804?

CVE-2024-5804 is a medium-severity vulnerability in jules-colle Conditional Fields for Contact Form 7, published on 20 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Conditional Fields for Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.4.13. This is due to missing or incorrect nonce validation on the wpcf7cf_admin_init function. This makes it possible for unauthenticated attackers to reset the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Weakness: CWE-352

Which versions are affected by CVE-2024-5804?

How do I fix CVE-2024-5804?

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

Is CVE-2024-5804 being exploited?

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

Sources

Also known as GHSA-g26m-8jhm-49c4.

Is CVE-2024-5804 in your software?

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

Check your SBOMs for free