CVE-2021-24862 RegistrationMagic < 5.0.1.6 - Admin+ SQL Injection

High 7.2 Published Updated

An authenticated admin can exploit SQL injection in the RegistrationMagic plugin to read or modify database contents.

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-2021-24862?

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

Official description

The RegistrationMagic WordPress plugin before 5.0.1.6 does not escape user input in its rm_chronos_ajax AJAX action before using it in a SQL statement when duplicating tasks in batches, which could lead to a SQL injection issue

Weakness: CWE-89

Which versions are affected by CVE-2021-24862?

It affects 1 product.

Products include Metagauss Registrationmagic.

How do I fix CVE-2021-24862?

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

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

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

Sources

Also known as GHSA-cr8f-vxv2-c345.

Is CVE-2021-24862 in your software?

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

Check your SBOMs for free