Custom 401: Unauthorized page for Nagios
Posted: Mon Jul 18, 2016 11:09 am
Hello Everyone,
I hired a "white-hat" hacker to test my install of Nagios. I have already set up HTTPS and disabled HTTP. Unfortunately he was able to breach the network because he received the Nagios servers local IP address when he cancelled the login page for Nagios. The IP then came in handy for masquerading as our Nagios server.
In an effort to prevent this attack we want to change the error received when cancelling the authentication page. I need to make this not show the Nagios server's internal IP. My Nagios server is running on Ubuntu 14.04 since this is likely relevant.
I checked Apache under the assumption that this would be an HTML page pre-configured as part of it. If the page is there I could not locate it.
I hired a "white-hat" hacker to test my install of Nagios. I have already set up HTTPS and disabled HTTP. Unfortunately he was able to breach the network because he received the Nagios servers local IP address when he cancelled the login page for Nagios. The IP then came in handy for masquerading as our Nagios server.
In an effort to prevent this attack we want to change the error received when cancelling the authentication page. I need to make this not show the Nagios server's internal IP. My Nagios server is running on Ubuntu 14.04 since this is likely relevant.
I checked Apache under the assumption that this would be an HTML page pre-configured as part of it. If the page is there I could not locate it.