RCE in Galeracluster Wsrep
CVE-2021-27928
A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.9; Percona Server through 2021-03-03; and the wsrep patch through 2021-03-03 for MySQL. An untrusted search path leads to eval injection, in which a database SUPER user can execute OS commands after modifying wsrep_provider and wsrep_notify_cmd. NOTE: this does not affect an Oracle product.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.382, 98.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Galeracluster Wsrep
- Mariadb
- Percona Server
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
4 public repositories with exploit or proof-of-concept code for this CVE:
- Al1ex/CVE-2021-27928 (63 stars, last pushed 2023-06-29): CVE-2021-27928 MariaDB/MySQL-'wsrep provider' 命令注入漏洞
- shamo0/CVE-2021-27928-POC (1 star, last pushed 2021-12-09): CVE-2021-27928-POC
- LalieA/CVE-2021-27928 (last pushed 2023-09-10): A Proof of Concept for the CVE-2021-27928 flaw exploitation
- GatoGamer1155/CVE-2021-27928
Also mentioned in 52 other repositories (0x7n6/OSCP, 0xaniketB/HackTheBox-Shibboleth, 0xStrygwyr/OSCP-Guide, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- mariadb.com/kb/en/security/ (Vendor Advisory)
- jira.mariadb.org/browse/MDEV-25179 (Issue Tracking, Vendor Advisory)
- mariadb.com/kb/en/mariadb-10237-release-notes/ (Release Notes, Vendor Advisory)
- mariadb.com/kb/en/mariadb-10328-release-notes/ (Release Notes, Vendor Advisory)
- mariadb.com/kb/en/mariadb-10418-release-notes/ (Release Notes, Vendor Advisory)
- mariadb.com/kb/en/mariadb-1059-release-notes/ (Release Notes, Vendor Advisory)
- [debian-lts-announce] 20210323 [SECURITY] [DLA 2605-1] mariadb-10.1 security update (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html (Exploit, VDB Entry, Third Party Advisory)
- GLSA-202105-28 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.