bugzilla-daemon at mindrot.org
2004-Mar-04 21:04 UTC
[Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
http://bugzilla.mindrot.org/show_bug.cgi?id=808 Summary: segfault if not using pam/keyboard-interactive mech and password's expired Product: Portable OpenSSH Version: 3.8p1 Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: PAM support AssignedTo: openssh-bugs at mindrot.org ReportedBy: buckh at pobox.com if you don't authenticate via pam/keyboard-interactive, then when do_pam_account figures out your password is expired and calls pam_password_change_required, the latter will probably segfault when it dereferences the uninitialized int *force_pwchange. this is b/c, if you don't authenticate using the PRIVSEP(sshpam_device), sshpam_init_ctx is never called, so force_pwchange isn't properly initialized i'll attach a workaround patch, but not without serious misgivings about how crappy it is, so it won't hurt my feelings if you come up with a much better fix all in all, though, 3.8p1 does password-changing and chauthtok-ing much better than it's predecessor, so thanks again for the great work --buck ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-04 21:06 UTC
[Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
http://bugzilla.mindrot.org/show_bug.cgi?id=808 ------- Additional Comments From buckh at pobox.com 2004-03-05 08:06 ------- Created an attachment (id=568) --> (http://bugzilla.mindrot.org/attachment.cgi?id=568&action=view) referenced patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-07 22:00 UTC
[Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
http://bugzilla.mindrot.org/show_bug.cgi?id=808 ------- Additional Comments From buckh at pobox.com 2004-03-05 08:04 ------- if you don't authenticate via pam/keyboard-interactive, then when do_pam_account figures out your password is expired and calls pam_password_change_required, the latter will probably segfault when it dereferences the uninitialized int *force_pwchange. this is b/c, if you don't authenticate using the PRIVSEP(sshpam_device), sshpam_init_ctx is never called, so force_pwchange isn't properly initialized i'll attach a workaround patch, but not without serious misgivings about how crappy it is, so it won't hurt my feelings if you come up with a much better fix all in all, though, 3.8p1 does password-changing and chauthtok-ing much better than it's predecessor, so thanks again for the great work --buck ------- Additional Comments From buckh at pobox.com 2004-03-05 08:06 ------- Created an attachment (id=568) --> (http://bugzilla.mindrot.org/attachment.cgi?id=568&action=view) referenced patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-08 12:06 UTC
[Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
http://bugzilla.mindrot.org/show_bug.cgi?id=808 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From dtucker at zip.com.au 2004-03-08 23:06 ------- A fix for this (id #596) has been committed, tomorrow's snapshot will have it. Please test it and re-open this bug if there are any problems with it. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Maybe Matching Threads
- [Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
- [Bug 808] segfault if not using pam/keyboard-interactive mech and password's expired
- [Bug 819] patch to add kerberos password-changing
- [Bug 563] getaddrinfo() in libopenbsd-compat.a breaks heimdal-linked pam_krb5
- [Bug 14] Can't change expired /etc/shadow password without PAM