Page Views Count Plugin <= 2.4.14 - Unauthenticated SQL Injection

2022-02-01 00:00
Krzysztof Zając

Strategic Overview

Status
Patched in 2.4.15
Affected PluginPage View Count
Affected Version< 2.4.15
CVSS9.8Critical
CVECVE-2022-0434
View all Page View Count vulnerabilities

Vulnerability Overview

The Page View Count WordPress plugin before 2.4.15 does not sanitise and escape the post_ids parameter before using it in a SQL statement via a REST endpoint, available to both unauthenticated and authenticated users. As a result, unauthenticated attackers could perform SQL injection attacks

Technical Analysis

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