WordPress Plugin Vulnerabilities

Import all XML, CSV & TXT into WordPress < 6.5.8 - Admin+ SQLi

Description

The plugin does not properly sanitise and escape imported data before using them back SQL statements, leading to SQL injection exploitable by high privilege users such as admin

Proof of Concept

With the additional https://wordpress.org/plugins/polylang/ plugin installed, import a CSV with the following payload in the language_code column: en' union select if(user_login='wordpress',sleep(5),null) from wp_users#

Affects Plugins

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Sanjay Das
Submitter
Sanjay Das
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-09-20 (about 1 years ago)
Added
2022-09-20 (about 1 years ago)
Last Updated
2022-09-20 (about 1 years ago)

Other