User Activity Log <= 1.6.2 - Authenticated (Administrator+) SQL Injection

2023-07-12 00:00
LEE SE HYOUNG

Strategic Overview

Status
Patched in 1.6.3
Affected PluginUser Activity Log
Affected Version<= 1.6.2
CVSS7.2High
CVECVE-2023-37966
View all User Activity Log vulnerabilities

Vulnerability Overview

The User Activity Log plugin for WordPress is vulnerable to SQL Injection via several parameters like 'userrole', 'userip', 'username', and 'type' in versions up to, and including, 1.6.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the ual_user_activity_function() function. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Technical Analysis

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