[krbdev.mit.edu #8926] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jul 22 16:11:52 EDT 2020


Wed Jul 22 16:11:52 2020: Request 8926 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8926 >



Allow gss_unwrap_iov() of unpadded RC4 tokens

Windows Remote Management, when used with an RC4 session key, appears
to generate GSS wrap tokens with no padding instead of the expected
one byte (RFC 4757 section 7.3).  These tokens cannot be decoded with
gss_unwrap() or a STREAM buffer (even with Microsoft SSPI), but SSPI
allows them to be decoded using explicit IOVs with either a
zero-length padding buffer or no padding buffer.  Allow these cases to
work in kg_fixup_padding_iov().  (It is already possible to make this
work with HEADER | DATA | DATA, but only by
accident--kg_fixup_padding_iov() doesn't find a data buffer because
kg_locate_iov() only looks for singleton buffers, so it exits early.)

https://github.com/krb5/krb5/commit/3f204ddd567715ef360b4bb0b32961b6a9877f9d
Author: Greg Hudson <ghudson at mit.edu>
Commit: 3f204ddd567715ef360b4bb0b32961b6a9877f9d
Branch: master
 src/lib/gssapi/krb5/util_crypt.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list