[krbdev.mit.edu #9272] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:59:56 EST 2026


Mon Nov 09 11:59:56 2026: Request 9272 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=9272 >



Properly verify RPCSEC_GSS call arguments

In gssrpc__svcauth_gss(), use a new helper svcauth_gss_check_call()
for RPCSEC_GSS_DATA and RPCSEC_GSS_DESTROY() messages, subsuming the
existing sequence number checking and svcauth_gss_validate() calls.
In the helper, set gd->sec.svc to the verified service value
(typically RPCSEC_GSS_SVC_PRIVACY) from the current message, to be
used when unwrapping call arguments and wrapping return arguments.
Check the sequence number before the verifier, and check the verifier
before updating the sequence window.

In svcauth_gss_accept_sec_context(), do not record the unverified
service value.

Add an RPCSEC_GSS mode to the gssrpc unit-test client.  In this mode,
make a call at each service level after establishing the context at
each level.

[ghudson at mit.edu: edited commit message; made minor style edits]

CVE-2026-118380:

In MIT krb5 release 1.4 and later, an active network attacker can
alter the arguments sent by a legitimate client to RPC services
protected by RPCSEC_GSS, or cause return values to be sent in plain
text.

https://github.com/krb5/krb5/commit/2cda39a6c0a2ee19b7cdd811e07d564506388fe3
Author: Alejandro Pacheco <alepacheco99 at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 2cda39a6c0a2ee19b7cdd811e07d564506388fe3
Branch: master
 src/lib/rpc/svc_auth_gss.c     | 82 +++++++++++++++++++++++++++------------
 src/lib/rpc/unit-test/client.c | 88 ++++++++++++++++++++++++++++++++++++++++--
 src/lib/rpc/unit-test/t_rpc.py |  3 ++
 3 files changed, 145 insertions(+), 28 deletions(-)



More information about the krb5-bugs mailing list