CommonsBooking < 2.6.8 - Unauthenticated SQL Injection

2022-02-21 00:00
cydave

Strategic Overview

Status
Patched in 2.6.8
Affected PluginCommonsBooking
Affected Version< 2.6.8
CVSS9.8Critical
CVECVE-2022-0658
View all CommonsBooking vulnerabilities

Vulnerability Overview

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

Technical Analysis

REMEDIATION: Update to version 2.6.8, or a newer patched version --- IDENTIFIER: CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C