Notification Email Link Security

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hogwash
Posts: 2
Joined: Wed May 18, 2016 12:41 pm

Notification Email Link Security

Post by hogwash »

The links within the notification emails provide direct access in to our instance of NagiosXI. A simple URL change after clicking the link logs you directly in to the rest of the portal.

Is this by design? Is there a way to stop this behavior & limit the access that link has to the necessary functionality?

Thank you.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Notification Email Link Security

Post by bwallace »

Does this occur for everyone who receives a notification or a select few?
Are they Nagios XI users or just contacts? No way should contacts gain access to the XI UI...

https://assets.nagios.com/downloads/nag ... ntacts.pdf
Be sure to check out the Knowledgebase for helpful articles and solutions!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Notification Email Link Security

Post by rkennedy »

I just checked on my end with that link, and confirmed it does indeed do a no password or API authentication. I've filed a bug report this, ID #8821.
Former Nagios Employee
hogwash
Posts: 2
Joined: Wed May 18, 2016 12:41 pm

Re: Notification Email Link Security

Post by hogwash »

Thank you muchly for the replies.

I can confirm this happens for all users, LDAP & local alike.

Pardon my newbness & thank you for filling the bug but two questions:

1) How do I track that bug & it's resolution?
2) Are there any work arounds in the mean time or should I just do away with these links in the notifications for now?

Thank you.
M
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notification Email Link Security

Post by lmiltchev »

Add the following line to the "/usr/local/nagiosxi/html/config.inc.php":

Code: Select all

$cfg['secure_response_url']=1;
and restart apache:

Code: Select all

service httpd restart
When using the "new" response URL links (after the change), you will be asked to authenticate. Is this what you were looking for?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked