Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 50808 - ksconfig stores plaintext root password
ksconfig stores plaintext root password
Product: Red Hat Linux
Classification: Retired
Component: ksconfig (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
: Security
Depends On:
  Show dependency treegraph
Reported: 2001-08-03 10:46 EDT by Mike Gerdts
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-03 10:46:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike Gerdts 2001-08-03 10:46:42 EDT
Description of Problem:

Kickstart uses unencrypted passwords

How Reproducible:

Follow the instructions in "The Official Red Hat Linux Customization
Guide", section 2.5.

Steps to Reproduce:
1. start ksconfig
2. type in your root password in the space provided
3. be sure md5 passwords is checked (mainly to get a false sense of security)
4. save the file

Actual Results:

The plain text root password is stored in the kickstart file.

Expected Results:

If I selected md5 passwords, I would have expected that ksconfig would
store an md5 password and kickstart would just put that already hashed
password into /etc/shadow.

Additional Information:

This feature makes the ks.cfg file a very valuable file to people that
would like to do harm.  If it is accessible via FTP, HTTP, or NFS your
root password is rather trivially accessible.
Comment 1 Brent Fox 2001-08-08 19:05:01 EDT
I changed ksconfig to always write out an encrypted root password.  Fixed in cvs.

Note You need to log in before you can comment on or make changes to this bug.