-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate and verify message MACs in libkrad
Implement some of the measures specified in draft-ietf-radext-deprecating-radius-03 for mitigating the BlastRADIUS attack (CVE-2024-3596): * Include a Message-Authenticator MAC as the first attribute when generating a packet of type Access-Request, Access-Reject, Access-Accept, or Access-Challenge (sections 5.2.1 and 5.2.4), if the secret is non-empty. (An empty secret indicates the use of Unix domain socket transport.) * Validate the Message-Authenticator MAC in received packets, if present. FreeRADIUS enforces Message-Authenticator as of versions 3.2.5 and 3.0.27. libkrad must generate Message-Authenticator attributes in order to remain compatible with these implementations. [ghudson@mit.edu: adjusted style and naming; simplified some functions; edited commit message] ticket: 9142 (new) tags: pullup target_version: 1.21-next
- Loading branch information
1 parent
331e393
commit faf2477
Showing
11 changed files
with
339 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,3 +103,4 @@ krb5_c_prfplus | |
krb5_c_derive_prfplus | ||
k5_enctype_to_ssf | ||
krb5int_c_deprecated_enctype | ||
k5_hmac_md5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.