CERT24The source-address critical option in Permissions returned by an authentication callback was enforced only on specific callback pathsLoading data…

The source-address critical option in Permissions returned by an authentication callback was enforced only on specific callback paths

The source-address restriction was checked only on the PublicKeyCallback and VerifiedPublicKeyCallback paths. Restrictions set through the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address and were silently ignored.

← Back to intelligence

The source-address critical option in Permissions returned by an authentication callback was enforced only on specific callback paths

The source-address restriction was checked only on the PublicKeyCallback and VerifiedPublicKeyCallback paths. Restrictions set through the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address and were silently ignored.