CVE-2021-24555 Diary & Availability Calendar <= 1.0.3 - Authenticated (subscriber+) SQL Injection

High 8.8 Published Updated

Authenticated users can exploit SQL injection in the Diary & Availability Calendar plugin to read or modify database contents.

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

What is CVE-2021-24555?

CVE-2021-24555 is a high-severity SQL injection vulnerability in Unknown Diary & Availability Calendar, published on 23 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The daac_delete_booking_callback function, hooked to the daac_delete_booking AJAX action, takes the id POST parameter which is passed into the SQL statement without proper sanitisation, validation or escaping, leading to a SQL Injection issue. Furthermore, the ajax action is lacking any CSRF and capability check, making it available to any authenticated user.

Weakness: CWE-89, CWE-352

Which versions are affected by CVE-2021-24555?

It affects 1 product.

Products include Roosty Diary-Availability-Calendar.

How do I fix CVE-2021-24555?

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

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

Sources

Also known as GHSA-7qqw-3436-pv6f.

Is CVE-2021-24555 in your software?

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

Check your SBOMs for free