Bug 1899332 (CVE-2020-28912)

Summary: CVE-2020-28912 mariadb: Named pipe permission issue on Windows
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: damien.ciabrini, databases-maint, dbecker, dciabrin, hhorak, jjoyce, jorton, jschluet, lhh, ljavorsk, lpeer, mbayer, mburns, mkocka, mmuzila, mschorm, sclewis, slinaber, SpikeFedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mariadb 10.5.7, mariadb 10.4.16, mariadb 10.3.26, mariadb 10.2.35, mariadb 10.1.48 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-18 21:46:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1899333    

Description Tomas Hoger 2020-11-18 21:42:10 UTC
A flaw was found in the way MariaDB and MySQL set permissions for named pipes when running on the Microsoft Windows platform.  A local attacker could use this flaw to perform a man-in-the-middle attack against local client to server connections over the named pipes.  Note that this issue did not affect MariaDB or MySQL running on Linux.

MariaDB upstream bug and fix:

https://jira.mariadb.org/browse/MDEV-24040
https://github.com/MariaDB/server/commit/3829b408d6

Additional information can be found in the "Man-in-the-Machine: Exploiting Ill-Secured Communication Inside the Computer" paper, section 7.1:

https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-bui.pdf

Comment 1 Tomas Hoger 2020-11-18 21:46:39 UTC
Statement:

This issue did not affect any version of MariaDB or MySQL as included in Red Hat products, as it only affected the versions of MariaDB or MySQL running on the Microsoft Windows platform.