Ni WooCommerce Custom Order Status <= 1.9.6 - SQL Injection

2021-11-22 00:00
ZhongFu Su

Strategic Overview

Status
Patched in 1.9.7
Affected Version<= 1.9.6
CVSS8.8High
CVECVE-2021-24846
View all Ni WooCommerce Custom Order Status vulnerabilities

Vulnerability Overview

The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber

Technical Analysis

REMEDIATION: Update to version 1.9.7, 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