CVE-2021-24862 RegistrationMagic < 5.0.1.6 - Admin+ SQL Injection
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.
Other vulnerabilities in Unknown RegistrationMagic – Custom Registration Forms, User Registration and User Login Plugin
- CVE-2017-20208 RegistrationMagic - Custom Registration Forms <= 3.7.9.2 - PHP Object Injection
- CVE-2024-10508 Auth bypass in RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login
- CVE-2023-2499 RegistrationMagic <= 5.2.1.0 - Authentication Bypass
- CVE-2021-4073 RegistrationMagic <= 5.0.1.7 Authentication Bypass
- CVE-2024-1990 SQL injection in RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login
Sources
Also known as GHSA-cr8f-vxv2-c345.