-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 7.0.15
-
Component/s: None
-
Server Security
-
ALL
-
-
RnD Security 2025-03-03
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When using mTLS/x.509 for authentication within a replica set, any client presenting a certificate with a subject that differs only by the Common Name (CN) from a replica set member's Fully Qualified Domain Name (FQDN) can successfully authenticate and be treated as a cluster member.
Expected Behavior:
A client certificate should not be authorized with privileges unless explicitly added as a user in the $external authentication database. Any user with a CN different from a replica set member's FQDN should be required to have explicit authorization in $external to gain any privileges.