#VU51645 Command Injection in MariaDB


Published: 2021-04-16 | Updated: 2022-04-15

Vulnerability identifier: #VU51645

Vulnerability 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

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
MariaDB
Server applications / Database software

Vendor: MariaDB Foundation

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.5.0 - 10.5.8, 10.4.0 - 10.4.17, 10.3.0 - 10.3.27, 10.2.0 - 10.2.36, 10.1.0 - 10.1.48, 10.0.0 - 10.0.38


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.

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