CVE-2022-0420 RegistrationMagic < 5.0.2.2 - Admin+ SQL Injection

High 7.2 Published Updated

High-privilege users can perform SQL injection attacks via the rm_form_id parameter in the RegistrationMagic WordPress plugin.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-0420?

CVE-2022-0420 is a high-severity SQL injection vulnerability in Unknown RegistrationMagic – Custom Registration Forms, User Registration and User Login Plugin, published on 7 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The RegistrationMagic WordPress plugin before 5.0.2.2 does not sanitise and escape the rm_form_id parameter before using it in a SQL statement in the Automation admin dashboard, allowing high privilege users to perform SQL injection attacks

Weakness: CWE-89

Which versions are affected by CVE-2022-0420?

It affects 1 product.

Products include Metagauss Registrationmagic.

How do I fix CVE-2022-0420?

No fix has been published for CVE-2022-0420 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-0420 being exploited?

There is no known exploitation of CVE-2022-0420 in the wild and no public exploit code.

Sources

Also known as GHSA-rfj3-v8rc-mj32.

Is CVE-2022-0420 in your software?

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

Check your SBOMs for free