CVE-2022-0658 CommonsBooking < 2.6.8 - Unauthenticated SQL Injection
Unauthenticated attackers can inject SQL via the location parameter in the calendar_data 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-2022-0658?
CVE-2022-0658 is a critical SQL injection vulnerability in Unknown CommonsBooking, published on 14 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The CommonsBooking WordPress plugin before 2.6.8 does not sanitise and escape the location parameter of the calendar_data AJAX action (available to unauthenticated users) before it is used in dynamically constructed SQL queries, leading to an unauthenticated SQL injection
Weakness: CWE-89
Which versions are affected by CVE-2022-0658?
It affects 1 product.
Products include Wielebenwir Commonsbooking.
How do I fix CVE-2022-0658?
No fix has been published for CVE-2022-0658 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-2022-0658 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0658 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown CommonsBooking
Sources
Also known as GHSA-7gp5-vwvv-wq8v.