WordPress Plugin Vulnerabilities

MStore API < 3.9.8 - Unauthenticated Blind SQLi

Description

The plugin does not sanitise and escape a parameter before using it in a SQL statement, leading to a Blind SQL injection exploitable by unauthenticated users. This is only exploitable if the site owner elected to pay to get access to the plugins' pro features, and uses the woocommerce-appointments plugin.

Proof of Concept

https://vulnerable-site.tld/wp-json/api/flutter_booking/get_staffs?product_id=%27+or+ID=sleep(10)--+-

Affects Plugins

Fixed in 3.9.8

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Truoc Phan
Submitter
Truoc Phan
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-06-19 (about 5 months ago)
Added
2023-06-19 (about 5 months ago)
Last Updated
2023-06-19 (about 5 months ago)

Other