CVE-2024-8275 The Events Calendar <= 6.6.4 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can extract sensitive database information via SQL injection in The Events Calendar plugin if the vulnerable function is manually used.

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-8275?

CVE-2024-8275 is a critical SQL injection vulnerability in stellarwp The Events Calendar, published on 25 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The The Events Calendar plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the 'tribe_has_next_event' function in all versions up to, and including, 6.6.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Only sites that have manually added tribe_has_next_event() will be vulnerable to this SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2024-8275?

It affects 1 product.

Products include Stellarwp the Events Calendar.

How do I fix CVE-2024-8275?

No fix has been published for CVE-2024-8275 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-2024-8275 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v6x4-m48j-jm68.

Is CVE-2024-8275 in your software?

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

Check your SBOMs for free