WordPress Plugin Vulnerabilities

Gift Voucher < 4.1.8 - Unauthenticated Blind SQL Injection

Description

The wpgv_doajax_front_template AJAX action (both authenticated and unauthenticated, defined in the front.php) does not sanitise, validate or escape the template_id parameter before using it in a SQL statement, leading to a SQL Injection issue. This has been present since at least 1.0.5

v4.1.0 tried to sanitise user input with sanitize_text_field() which is not sufficient.

Proof of Concept

Affects Plugins

Fixed in 4.1.8

References

Exploitdb

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Submitter
Ryan Dewhurst
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2018-08-26 (about 7 years ago)
Added
2018-08-28 (about 7 years ago)
Last Updated
2022-03-31 (about 4 years ago)

Other