Password(s) stored on file(s) readable by anyone

Bug #1811997 reported by Alvaro Uria
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nagios Charm
Fix Released
Critical
Unassigned

Bug Description

update_password write a file with default perms (generally, 644). Password should be stored on a file with perms 0400.
"""
nagios-1:~$ ls -l /var/lib/juju/nagios.*
-rw-r--r-- 1 root root 12 Nov 21 15:26 /var/lib/juju/nagios.nagiosadmin.passwd
-rw-r--r-- 1 root root 12 Nov 21 15:26 /var/lib/juju/nagios.nagiosro.passwd
-r-------- 1 root root 11 Aug 2 22:53 /var/lib/juju/nagios.passwd
"""

https://git.launchpad.net/nagios-charm/tree/hooks/upgrade-charm#n332

Related branches

Junien F (axino)
Changed in nagios-charm:
importance: Undecided → Critical
status: New → Triaged
Changed in nagios-charm:
status: Triaged → In Progress
assignee: nobody → Aurelien Lourot (aurelien-lourot)
Andrea Ieri (aieri)
Changed in nagios-charm:
status: In Progress → Fix Committed
Changed in nagios-charm:
assignee: Aurelien Lourot (aurelien-lourot) → nobody
Andrea Ieri (aieri)
Changed in nagios-charm:
status: Fix Committed → In Progress
Xav Paice (xavpaice)
Changed in charm-nagios:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.