Re: Bug in Kerberos support for openssh.

This is a discussion on Re: Bug in Kerberos support for openssh. within the OpenSSH Development forums, part of the Networking and Network Related category; Eric Youngdale wrote: >debug1: An invalid name was supplied >A parameter was malformed >Validation error > .... >...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2006
David Leonard
 
Posts: n/a
Default Re: Bug in Kerberos support for openssh.

Eric Youngdale wrote:
>debug1: An invalid name was supplied
>A parameter was malformed
>Validation error
>

....
>Later on (not much further later), ssh calls
>
> if ((ctx->major = gss_export_name(&ctx->minor, ctx->client,
> &ename))) {
> ssh_gssapi_error(ctx);
> return (ctx->major);
> }
>
>Here ctx->client is passed in but gss_export_name assumes that the input
>name is a krb5_principal.

gss_export_name() should work with any src_name returned by
gss_accept_sec_context()...

Whatversion of the MIT libraries do you have? The error appears to come
not from a nametype check, but from a pointer validation:
if (! kg_validate_name(input_name)) {
if (minor_status)
*minor_status = (OM_uint32) G_VALIDATE_FAILED;
krb5_free_context(context);
return(GSS_S_CALL_BAD_STRUCTURE|GSS_S_BAD_NAME);
}

Is it possible that the ctx->client pointer is getting mangled somehow?

d

--
David Leonard
Vintela Resource Central software engineer
Quest Software; 303 Adelaide St, Brisbane, Australia; www.quest.com
Phone: (US) +1 801 655 2755
(AU) +61 7 3023 5133

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0