CVE-2022-0658
CommonsBooking < 2.6.8 - Unauthenticated SQL Injection
Record summary
CVE-2022-0658 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
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
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
CommonsBooking | CVE List | 2.6.8 to < 2.6.8 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALCommonsBooking < 2.6.8 - SQL InjectionCVSS 9.8
The plugin 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.
Impact
Unauthenticated attackers can execute SQL injection via unsanitized AJAX parameters to extract database contents, potentially exposing sensitive WordPress data including user credentials.
Remediation
Fixed in version 2.6.8
Source: ProjectDiscovery