Command Injection in MariaDB



Published: 2021-03-23 | Updated: 2022-12-15
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-27928
CWE-ID CWE-77
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
MariaDB
Server applications / Database software

Vendor MariaDB Foundation

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Command Injection

EUVDB-ID: #VU51645

Risk: High

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

CVE-ID: CVE-2021-27928

CWE-ID: CWE-77 - Command injection

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "wsrep_provider" and "wsrep_notify_cmd" parameters. A remote attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

MariaDB: 10.0.0 - 10.5.8

External links

http://jira.mariadb.org/browse/MDEV-25179
http://lists.debian.org/debian-lts-announce/2021/03/msg00028.html
http://mariadb.com/kb/en/mariadb-10237-release-notes/
http://mariadb.com/kb/en/mariadb-10328-release-notes/
http://mariadb.com/kb/en/mariadb-10418-release-notes/
http://mariadb.com/kb/en/mariadb-1059-release-notes/
http://mariadb.com/kb/en/security/
http://github.com/LalieA/CVE-2021-27928


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

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.



###SIDEBAR###