#VU25521 SQL injection in RegistrationMagic – Custom Registration Forms and User Login


Published: 2020-02-24

Vulnerability identifier: #VU25521

Vulnerability risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-8436

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
RegistrationMagic – Custom Registration Forms and User Login
Web applications / Modules and components for CMS

Vendor: Registrationmagic

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "form_id" field. A remote attacker can send a specially crafted request to the affected application and cause a denial of service (DoS) condition or information disclosure on the target system.

PoC:

https://[host]/wp-admin/admin.php?page=rm_analytics_show_form&rm_form_id=(select*from(select(sleep(20)))a)&rm_tr=30

Mitigation
Install updates from vendor's website.

Vulnerable software versions

RegistrationMagic – Custom Registration Forms and User Login: 4.6.0.0


External links
http://wpvulndb.com/vulnerabilities/10084/
http://spider-security.co.uk/blog-cve-2020-8436


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability