I am working with a customer that is using AD to authenticate with Nagios. In order to get this working they are not using SSL, so it is plain text. Two questions as I am concerned about security:
1. At any point are passwords stored or transmitted in plain text on Nagios when using AD and no SSL?
Especially important would be log info?
2. Do these passwords ever get stored on Nagios in plain text?
I am assuming this is true as they are stored in the database?
Authentication with AD NO SSL
Authentication with AD NO SSL
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Authentication with AD NO SSL
1) I have not done a wireshark to confirm, but these should be sent just as standard windows authentication request would, using ntlm\ntlmv2 hashs which is of the same security as a default windows system connecting to a domain.
2) Nope, they should never be stored in plaintext, and the XI password does NOT need to match AD. We check something like:
valid for user nagios?
valid ad user and pass?
if yes to both, login as user
if not, check local db for credentials as though we were not using AD.
As another note, Jake and I, largely Jake, recently resolved the AD ssl issues, it should be out in a patch shortly, with detailed documentation!
2) Nope, they should never be stored in plaintext, and the XI password does NOT need to match AD. We check something like:
valid for user nagios?
valid ad user and pass?
if yes to both, login as user
if not, check local db for credentials as though we were not using AD.
As another note, Jake and I, largely Jake, recently resolved the AD ssl issues, it should be out in a patch shortly, with detailed documentation!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Authentication with AD NO SSL
Thanks for the info exactly what I needed. Fixing the SSL issues will be greatly appreciated by many I am sure. You can close this.
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Authentication with AD NO SSL
You are absolutely correct, myself included! We'll lock it up!Fixing the SSL issues will be greatly appreciated by many I am sure.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.