Bug 106738

Summary: /etc/wvdial.conf is created world readable
Product: [Fedora] Fedora Reporter: Warren Lewis <warren98103>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: bradley.g.smith
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-14 09:18:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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. ***