.. / CVE-2022-3142

Exploit for NEX-Forms Plugin < 7.9.7 - SQL Injection (CVE-2022-3142)

Description:

The NEX-Forms WordPress plugin before 7.9.7 does not properly sanitise and escape user input before using it in SQL statements, leading to SQL injections. The attack can be executed by anyone who is permitted to view the forms statistics chart, by default administrators, however can be configured otherwise via the plugin settings.

Nuclei Template

View the template here CVE-2022-3142.yaml

Validate with Nuclei

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

References:

https://nvd.nist.gov/vuln/detail/CVE-2022-3142
http://packetstormsecurity.com/files/171477/WordPress-NEX-Forms-SQL-Injection.html
https://wpscan.com/vulnerability/8acc0fc6-efe6-4662-b9ac-6342a7823328/
https://www.exploit-db.com/exploits/51042
https://medium.com/%40elias.hohl/authenticated-sql-injection-vulnerability-in-nex-forms-wordpress-plugin-35b8558dd0f5