what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

shadow.passwds.txt

shadow.passwds.txt
Posted Aug 17, 1999

shadow-980724 contains a security bug when used with '-p passwd' option, such that passwords are not encrypted. Solution: upgrade to shadow-19990607 or later.

tags | exploit
SHA-256 | e35d62a7a6581ebf288d91a5e22b505c48ab2307b22e33defd979153f9c148a3

shadow.passwds.txt

Change Mirror Download
Date: Fri, 11 Jun 1999 10:11:29 EET
From: Emils Klotins <emils@mail.usis.bkc.lv>
To: BUGTRAQ@netspace.org
Subject: useradd -p stores cleartext passwords / shadow-980724

Hello.

Sorry if this is reported already. Didn't find it in Bugtraq archives nor in SuSE support db.

OS: SuSE Linux 6.1
Program: useradd
Package: shadow-980724

Problem description:
'useradd' command has an option '-p password' for specifying password to the newly added user.
(This option btw, does not appear anywhere in useradd man page)
If you specify this option along with a password, the password will be stored in /etc/shadow, but
in cleartext, creating 2 problems:?
1. The password is stored in cleartext
2. It of course does not work, for upon login an encrypted version of password is expected to be in
/etc/shadow.

PS. I could agree that specifying password in command-line can be considered quite dangerous,
however, if the option is there, it should either work correctly or not be there.




Emils Klotins e-mail: emils@mail.usis.bkc.lv
Systems Manager URL: http://www.usis.bkc.lv/
USIS Riga 7 Smilsu Str., Riga LV1050, LATVIA

-------------------------------------------------------------------------------

Date: Fri, 11 Jun 1999 16:02:50 -0400
From: "Roche-Kelly, Edmund B." <Edmund.B.Roche-Kelly@FMR.COM>
To: BUGTRAQ@netspace.org
Subject: Re: useradd -p stores cleartext passwords / shadow-980724

I would think the obvious answer is that the password supplied
as an argument to -p is the encrypted password, generated
by any of the mkpasswd utilities.

I agree it's odd that it's not mentioned in the man page.

Ed

-------------------------------------------------------------------------------

Date: Fri, 11 Jun 1999 19:32:03 -0500
From: James Sneeringer <jvs@OCSLINK.COM>
To: BUGTRAQ@netspace.org
Subject: Re: useradd -p stores cleartext passwords / shadow-980724

On Fri, 11 Jun 1999, Roche-Kelly, Edmund B. wrote:
|
| I agree it's odd that it's not mentioned in the man page.

It was added to the man page in version 19990307. SuSE needs to update
their package. The current version is 19990607, available at

ftp://piast.t19.ds.pwr.wroc.pl/pub/linux/shadow/

-James

Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close