Bug 106738 - /etc/wvdial.conf is created world readable
Summary: /etc/wvdial.conf is created world readable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-config-network
Version: rawhide
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
: 88856 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-10 01:51 UTC by Warren Lewis
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-14 09:18:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Warren Lewis 2003-10-10 01:51:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Epiphany/1.0

Description of problem:
When you create a ppp connection with redhat-config-network it creates
/etc/wvdial.conf with the ppp account info in it including the password in clear
text. the mode is set to group/world readable!

Version-Release number of selected component (if applicable):
redhat-config-network-1.3.6-1

How reproducible:
Always

Steps to Reproduce:
1. rm /etc/wvdial.conf if it exists
2. run redhat-config-network 
3. create a ppp connection
4. ls -l /etc/wvdial.conf (note all have read permissions)
5. more /etc/wvdial.conf (note ppp account password readable)
    

Actual Results:  world readable /etc/wvdial.conf with plain text password in it.

Expected Results:  readable only by root /etc/wvdial.conf

Additional info:

Comment 1 Warren Lewis 2003-10-10 02:02:07 UTC
Looks like this is also in Redhat 9, see bug 88856 it's filed on wvdial package
(which doesn't write the config file I think) and with normal/normal severity,
it probably should be moved to redhat-config-network with security/high

Comment 2 Bill Nottingham 2003-10-10 03:20:45 UTC
*** Bug 88856 has been marked as a duplicate of this bug. ***


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