[17201] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9245] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Nov 9 11:59:35 2026

From: "Greg Hudson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-3127189-1794243569-1582.9245-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9245":;
Date: Mon, 09 Nov 2026 11:59:29 -0500
MIME-Version: 1.0
Reply-To: rt-comment@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


Mon Nov 09 11:59:29 2026: Request 9245 was acted upon.
 Transaction: Ticket created by ghudson@mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson@mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9245 >



Move krb5.ini from ProgramData to Program Files

On Windows, ProgramData (aka CSIDL_COMMON_APPDATA) by default has
permissions allowing any user to create files and directories, and
modify files and directories they have created, similar to /tmp on
UNIX-like systems.  This permission model is not suited for krb5.ini,
because the installer cannot reasonably determine whether a
pre-existing krb5.ini (or its containing subdirectories) was placed
there by a previous installation or was pre-created with malicious
contents by an unprivileged user.

Change the default per-machine location for krb5.ini to
%ProgramFiles%\MIT\Kerberos5.  This default applies if the filename
is not configured in the registry and no krb5.ini file exists under
%AppData% for the current user.

Discovered by Aisle Research.

https://github.com/krb5/krb5/commit/55302e26b4db994c6438cd2899562dd9b8ac195c
Author: Greg Hudson <ghudson@mit.edu>
Commit: 55302e26b4db994c6438cd2899562dd9b8ac195c
Branch: master
 src/lib/krb5/os/init_os_ctx.c       |  8 +++++---
 src/windows/README                  | 13 ++++++-------
 src/windows/installer/wix/files.wxi | 13 +++----------
 3 files changed, 14 insertions(+), 20 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post