CVE-2023-40609 WordPress Contact form 7 Custom validation Plugin <= 1.1.3 is vulnerable to SQL Injection

High 8.2 Published Updated

Attackers can execute arbitrary SQL commands via the Contact form 7 Custom validation plugin, potentially accessing or modifying database content.

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-2023-40609?

CVE-2023-40609 is a high-severity SQL injection vulnerability in Aiyaz, maheshpatel Contact form 7 Custom validation, published on 6 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Aiyaz, maheshpatel Contact form 7 Custom validation allows SQL Injection.This issue affects Contact form 7 Custom validation: from n/a through 1.1.3.

Weakness: CWE-89

Which versions are affected by CVE-2023-40609?

It affects 1 product.

Products include Rocklobster Contact Form 7 Custom Validation.

How do I fix CVE-2023-40609?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-40609 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40609 exists.

Sources

Also known as GHSA-rq4x-9q74-vqwc.

Is CVE-2023-40609 in your software?

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

Check your SBOMs for free