Page 1 of 1

Suggestion for Reset Security Credentials page

Posted: Wed Jun 09, 2010 5:45 am
by Box293
On the Reset Security Credentials page, the field next to "New Config Manager Admin Password:" will remember previous passwords you have typed in.

You can see the previous passwords in plain text.

I have experienced this with both IE and Firefox.

Screenshot shows the field I am talking about.

Perhaps this field should be changed so it doesn't remember values that have been typed here.
Field that password is remembered in Firefox.png

Re: Suggestion for Reset Security Credentials page

Posted: Wed Jun 09, 2010 9:42 am
by mmestnik
This screen should by design be static, it's not meant to randomize the passwords. Instead it pushes the value provided to the password store and the password database. It should always display the password in the password store.

Re: Suggestion for Reset Security Credentials page

Posted: Thu Jun 10, 2010 7:10 am
by Box293
On my computer I go to the Reset Security Credentials page
I type the nagiosadmin password in the field next to "New Config Manager Admin Password:"
I click Update Credentials
I log out of Nagis XI
I walk away from the computer without locking the screen
Another person jumps on my computer and logs into Nagios XI
They go to the Reset Security Credentials page
They double click in the field next to "New Config Manager Admin Password:"
Any entries typed by me in the past will appear here in a list.

Re: Suggestion for Reset Security Credentials page

Posted: Thu Jun 10, 2010 10:40 am
by mmestnik
If they have the admin password, they have the admin password. Though perhaps there are some browser cache issues to consider.

http://go.nagios.com/tracker/64

Re: Suggestion for Reset Security Credentials page

Posted: Thu Jun 10, 2010 11:34 am
by tonyyarusso
I would agree that it would be a lot smarter IMO if that particular field was set to a password input type, given how this operates.

Re: Suggestion for Reset Security Credentials page

Posted: Sun Jun 20, 2010 6:44 pm
by lccouncil
If your overly worried about it.. Jump into the HTML files for that page and add

autocomplete="off"

To the form attributes.
:)

Re: Suggestion for Reset Security Credentials page

Posted: Sun Jun 20, 2010 7:35 pm
by lccouncil
To do that.. Go to the file /usr/local/nagiosxi/html/admin/credentials.php

On line 98 change from

Code: Select all

<form id="manageOptionsForm" method="get" action="<?php echo $_SERVER['PHP_SELF'];?>">
to

Code: Select all

<form id="manageOptionsForm" autocomplete="off" method="get" action="<?php echo $_SERVER['PHP_SELF'];?>">

Re: Suggestion for Reset Security Credentials page

Posted: Sun Jun 20, 2010 8:02 pm
by Box293
Great tip.

Re: Suggestion for Reset Security Credentials page

Posted: Mon Jun 21, 2010 1:09 am
by lccouncil
Glad to help.