CVE-2022-3142 NEX-Forms < 7.9.7 - Authenticated SQLi

High 8.8 Published Updated

Authenticated attackers with form statistics access can execute SQL injection attacks in the NEX-Forms WordPress plugin to read or modify database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-3142?

CVE-2022-3142 is a high-severity SQL injection vulnerability in Unknown NEX-Forms – Ultimate Form Builder – Contact forms and much more, published on 19 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2022-3142?

It affects 1 product.

Products include Basixonline Nex-Forms.

How do I fix CVE-2022-3142?

No fix has been published for CVE-2022-3142 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-3142 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3142 exists.

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-5www-q64q-vx68.

Is CVE-2022-3142 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free