CVE-2020-28912
mariadb: Named pipe permission issue on Windows
Overview
Description
With MariaDB running on Windows, when local clients connect to the server over named pipes, it's possible for an unprivileged user with an ability to run code on the server machine to intercept the named pipe connection and act as a man-in-the-middle, gaining access to all the data passed between the client and the server, and getting the ability to run SQL commands on behalf of the connected user. This occurs because of an incorrect security descriptor. This affects MariaDB Server before 10.1.48, 10.2.x before 10.2.35, 10.3.x before 10.3.26, 10.4.x before 10.4.16, and 10.5.x before 10.5.7. NOTE: this issue exists because certain details of the MariaDB CVE-2019-2503 fix did not comprehensively address attack variants against MariaDB. This situation is specific to MariaDB, and thus CVE-2020-28912 does NOT apply to other vendors that were originally affected by CVE-2019-2503.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | <10.1.48>=10.2.0, <10.2.35>=10.3.0, <10.3.26>=10.4.0, <10.4.16>=10.5.0, <10.5.7 | 10.1.4810.2.3510.3.2610.4.1610.5.7 |
| Bitnami | mariadb-min | <10.1.48>=10.2.0, <10.2.35>=10.3.0, <10.3.26>=10.4.0, <10.4.16>=10.5.0, <10.5.7 | 10.1.4810.2.3510.3.2610.4.1610.5.7 |
| Bitnami | mysql-client | <10.1.48>=10.2.0, <10.2.35>=10.3.0, <10.3.26>=10.4.0, <10.4.16>=10.5.0, <10.5.7 | 10.1.4810.2.3510.3.2610.4.1610.5.7 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-28912
- hackerone.com https://hackerone.com/reports/1019891
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-24040
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-28912
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-28912
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.