WordPress Plugin Vulnerabilities

All In One Redirection < 2.2.0 - Admin+ SQLi

Description

The plugin does not properly sanitise and escape multiple parameters before using them in an SQL statement, leading to a SQL injection exploitable by high privilege users such as admin.

Proof of Concept

When adding a redirection, `source_url_insert` is vulnerable with the payload: `source_url_insert =%2ftest.html'%2b(select*from(select(sleep(8)))a)%2b'`

When deleting a redirect, `check_delete_btns` is vulnerable with the payload: `check_delete_btns%5B%5D=(select*from(select(sleep(20)))a

Adding the payload to the affected parameters results in the execution of the SQL query.

Affects Plugins

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Chien Vuong
Submitter
Chien Vuong
Verified
Yes

Timeline

Publicly Published
2023-06-19 (about 10 months ago)
Added
2023-06-19 (about 10 months ago)
Last Updated
2023-06-19 (about 10 months ago)

Other