CVE-2021-24943 Registrations for the Events Calendar < 2.7.6 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL via the event_id parameter in the rtec_send_unregister_link AJAX action, allowing unauthorized database access.

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-2021-24943?

CVE-2021-24943 is a critical SQL injection vulnerability in Unknown Registrations for the Events Calendar – Event Registration Plugin, published on 6 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Registrations for the Events Calendar WordPress plugin before 2.7.6 does not sanitise and escape the event_id in the rtec_send_unregister_link AJAX action (available to both unauthenticated and authenticated users) before using it in a SQL statement, leading to an unauthenticated SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2021-24943?

It affects 1 product.

Products include Roundupwp Registrations for the Events Calendar.

How do I fix CVE-2021-24943?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-756m-jgjv-8g68.

Is CVE-2021-24943 in your software?

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

Check your SBOMs for free