.. / CVE-2021-24731

Exploit for Pie Register < 3.7.1.6 - SQL Injection (CVE-2021-24731)

Description:

The Registration Forms User profile, Content Restriction, Spam Protection, Payment Gateways, Invitation Codes WordPress plugin before 3.7.1.6 does not properly escape user data before using it in a SQL statement in the wp-json/pie/v1/login REST API endpoint, leading to an SQL injection.

Nuclei Template

View the template here CVE-2021-24731.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-24731.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-24731
https://wpscan.com/vulnerability/6bed00e4-b363-43b8-a392-d068d342151a
https://wordpress.org/plugins/pie-register/