Thread View: news.software.nntp
7 messages
7 total messages
Started by John F. Morse
Mon, 13 Feb 2006 23:25
Password failures after 8 characters
Author: John F. Morse
Date: Mon, 13 Feb 2006 23:25
Date: Mon, 13 Feb 2006 23:25
21 lines
1812 bytes
1812 bytes
It appears that a password is only checked for the first eight characters. I first noticed this when I tried to verify the ClientAuthname against the ClientPassword ckpasswd(8) with the following: (echo 'ClientAuthname: test' ; echo 'ClientPassword: testing') | ckpasswd -f /path/to/passwd/file Any character or case is ignored after the first eight characters. The first eight characters must be correct. I then tried using an NNTP client to access INN. I get the same results -- characters or case after the eighth character are ignored. Is this a bug or a non-documented design limitation (or am I not seeing it in the man pages)? TIA. -- John
Re: Password failures after 8 characters
Author: Jeffrey M. Vinocur
Date: Tue, 14 Feb 2006 00:41
Date: Tue, 14 Feb 2006 00:41
14 lines
1550 bytes
1550 bytes
In article <3A8If.390707$qk4.252288@bgtnsc05-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: >It appears that a password is only checked for the first eight characters. Well, INN itself can deal with longer passwords (as long as they don't have whitespace embedded), but `ckpasswd -f` uses the regular unix passwd format, in which passwords are encrypted with crypt(3). Therefore, all the limitations crypt(3) apply...you can read more in `man crypt`. -- Jeffrey M. Vinocur jeff@litech.org
Re: Password failures after 8 characters
Author: John F. Morse
Date: Tue, 14 Feb 2006 03:04
Date: Tue, 14 Feb 2006 03:04
37 lines
2607 bytes
2607 bytes
Jeffrey M. Vinocur wrote: >In article <3A8If.390707$qk4.252288@bgtnsc05-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > > >>It appears that a password is only checked for the first eight characters. >> >> > >Well, INN itself can deal with longer passwords (as long as they >don't have whitespace embedded), but `ckpasswd -f` uses the >regular unix passwd format, in which passwords are encrypted with >crypt(3). Therefore, all the limitations crypt(3) apply...you >can read more in `man crypt`. > INN failed to block access when I added a ninth character, just like ckpasswd. I stated: "I then tried using an NNTP client to access INN. I get the same results -- characters or case after the eighth character are ignored." IOW, I used Thunderbird, deleted my stored test password, quit TBird, relaunched it, and when INN was accessed, TBird asked for the password. I reentered my test password plus an additional character. I was validated. Just to be sure, I just now did the same test using Mozilla on a different Linux box. Same failure with INN (it lets me in with an added character -- an incorrect password). The test password is without whitespace, and uses only alpha-numeric characters (a-zA-Z0-9). -- John
Re: Password failures after 8 characters
Author: Russ Allbery
Date: Tue, 14 Feb 2006 03:09
Date: Tue, 14 Feb 2006 03:09
21 lines
2004 bytes
2004 bytes
John F Morse <xanadu.bbs@invalid.net> writes:
> Jeffrey M. Vinocur wrote:
>> Well, INN itself can deal with longer passwords (as long as they don't
>> have whitespace embedded), but `ckpasswd -f` uses the regular unix
>> passwd format, in which passwords are encrypted with crypt(3).
>> Therefore, all the limitations crypt(3) apply...you can read more in
>> `man crypt`.
> INN failed to block access when I added a ninth character, just like
> ckpasswd.
INN does its password authentication *with* ckpasswd, so that's hardly
surprising. :) It's going to behave exactly the same as ckpasswd; that's
the whole point.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Password failures after 8 characters
Author: Jeffrey M. Vinocur
Date: Tue, 14 Feb 2006 03:35
Date: Tue, 14 Feb 2006 03:35
25 lines
2020 bytes
2020 bytes
In article <RMbIf.22364$id5.3118@bgtnsc04-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: > >INN failed to block access when I added a ninth character, just like >ckpasswd. Right...you've configured your INN (with readers.conf) to use ckpasswd, so the behavior you see in thunderbird is going to be exactly the same as when you use ckpasswd on the commandline. It's also the same behavior as you'd see with a standard unix login password. Note that this issue does not make your password any easier to guess than if we enforced a restriction to maximum eight characters, as long as you pick a password that's strong in the first eight characters. If that level of security is inadequate for you, INN does have a pluggable authentication architecture, and so you can use something other than straight ckpasswd if desired. -- Jeffrey M. Vinocur jeff@litech.org
Re: Password failures after 8 characters
Author: John F. Morse
Date: Tue, 14 Feb 2006 03:48
Date: Tue, 14 Feb 2006 03:48
43 lines
2344 bytes
2344 bytes
Russ Allbery wrote:
>John F Morse <xanadu.bbs@invalid.net> writes:
>
>
>>Jeffrey M. Vinocur wrote:
>>
>>
>
>
>
>>>Well, INN itself can deal with longer passwords (as long as they don't
>>>have whitespace embedded), but `ckpasswd -f` uses the regular unix
>>>passwd format, in which passwords are encrypted with crypt(3).
>>>Therefore, all the limitations crypt(3) apply...you can read more in
>>>`man crypt`.
>>>
>>>
>
>
>
>>INN failed to block access when I added a ninth character, just like
>>ckpasswd.
>>
>>
>
>INN does its password authentication *with* ckpasswd, so that's hardly
>surprising. :) It's going to behave exactly the same as ckpasswd; that's
>the whole point.
>
Thanks for verifying this, Russ.
I took Jeff's remark to be that INN should have blocked ("deal with")
the access, but I read his later reply that indicates a misunderstanding.
Thanks,
--
John
Re: Password failures after 8 characters
Author: John F. Morse
Date: Tue, 14 Feb 2006 04:14
Date: Tue, 14 Feb 2006 04:14
51 lines
3401 bytes
3401 bytes
Jeffrey M. Vinocur wrote: >In article <RMbIf.22364$id5.3118@bgtnsc04-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > > >>INN failed to block access when I added a ninth character, just like >>ckpasswd. >> >> > >Right...you've configured your INN (with readers.conf) to use >ckpasswd, so the behavior you see in thunderbird is going to be >exactly the same as when you use ckpasswd on the commandline. >It's also the same behavior as you'd see with a standard unix >login password. > >Note that this issue does not make your password any easier to >guess than if we enforced a restriction to maximum eight >characters, as long as you pick a password that's strong in the >first eight characters. > >If that level of security is inadequate for you, INN does have a >pluggable authentication architecture, and so you can use >something other than straight ckpasswd if desired. > Understood now (Russ helped). INN has been running continually since I pushed it over in the corner last September, and basically forgot about it. No failures at all, unless you count the big goof I made when I forgot to disable expiry, and "lost" some 54,000 articles that I had sucked from the Rumor Mill server. So I've had no "refresher" on how to administer INN. ;-) I'm setting up a second INN on an identical PC to re-suck from the old Rumor Mill server before it dies. Its hard drive is whining pretty loud, and I think it will fail soon. It's been running non-stop since 2000, and I don't dare shut it down before I get the articles pulled into the newer INN. I've copied all of the config files over to the new PC and will be making a few needed changes for the peering. Later I'll advise the users of the reason so many new messages will be appearing, then flip the router's port forwarding so they hit this newer INN. Thanks for the additional information. Eight character passwords are secure enough. -- John
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads