You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Broker] ServerCnx should not respond with Success until verifying originalAuthData #19311
I searched in the issues and found nothing similar.
Motivation
The current ServerCnx class follows this protocol when validating authentication data from a proxy that forwards the client's original auth data and when the broker is configured to verify this auth data.
Verify proxy's authData.
If 1 is successful, send Conncted response to remote client.
Verify the originalAuthData.
If 3 fails, close the connection and send Error to the remote client.
Solution
We should not send the Connected result until we complete the validation of the Connect command data.
Alternatives
None yet.
Anything else?
This is not a vulnerability for several reasons. First, the proxy authentication data must be valid. Second, the ServerCnx validates the authentication data before processing any other commands on the connection.
changed the title [-][Broker] ServerCnx should not response with Success until verifying originalAuthData[/-][+][Broker] ServerCnx should not respond with Success until verifying originalAuthData[/+]on Jan 23, 2023
Activity
[-][Broker] ServerCnx should not response with Success until verifying originalAuthData[/-][+][Broker] ServerCnx should not respond with Success until verifying originalAuthData[/+][improve][broker] ServerCnx: go to Failed state when auth fails (#19312)
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…
[improve][broker] ServerCnx: go to Failed state when auth fails (apac…