Page 1 of 1
Securing NRPE against weak SSL Ciphers
Posted: Thu Feb 06, 2014 4:43 pm
by illectronic
I am running a PCI scan and NRPE is showing up as having weak or medium ciphers. With other applications there were ways to adjust this to only allow strong ciphers. Is there any way to do this in nagios?
Re: Securing NRPE against weak SSL Ciphers
Posted: Fri Feb 07, 2014 1:48 pm
by sreinhardt
First question would be, what clients are you running nrpe on, and which specific nrpe agent? There are ways to do this though!
Re: Securing NRPE against weak SSL Ciphers
Posted: Fri Apr 25, 2014 11:14 am
by mark.s.spooner
I have the same question for nrpe 2.13. Is it the set_cipher_list that needs to be changed?
check_nrpe.c:SSL_CTX *ctx;
check_nrpe.c: if((ctx=SSL_CTX_new(meth))==NULL){
check_nrpe.c: SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
check_nrpe.c: SSL_CTX_set_cipher_list(ctx,"ADH");
check_nrpe.c: SSL_CTX_free(ctx);
check_nrpe.c: SSL_CTX_free(ctx);
nrpe.c:SSL_CTX *ctx;
nrpe.c: if((ctx=SSL_CTX_new(meth))==NULL){
nrpe.c: SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
nrpe.c: SSL_CTX_set_cipher_list(ctx,"ADH");
nrpe.c: SSL_CTX_set_tmp_dh(ctx,dh);
nrpe.c: SSL_CTX_free(ctx);
Re: Securing NRPE against weak SSL Ciphers
Posted: Fri Apr 25, 2014 2:11 pm
by tmcdonald
I'm not quite sure. We have an internal bug fix open for this but I don't think a patch has been made. I'm not a C developer so I wouldn't feel comfortable weighing in on a security issue. My gut says to change the SSL_CTW_set_cipher_list to something other than ADH (since that seems to be the weak cipher) but again I can't say for sure not being a dev.
Re: Securing NRPE against weak SSL Ciphers
Posted: Fri Apr 25, 2014 6:01 pm
by mark.s.spooner
Tried changing the cipher_list.-- no joy.
Must be more complicated than that.
Re: Securing NRPE against weak SSL Ciphers
Posted: Mon Apr 28, 2014 2:18 pm
by abrist
This is on the NRPE devs' radars. They are working on it, and it is a bit more complicated than it first appears.
Re: Securing NRPE against weak SSL Ciphers
Posted: Tue Aug 19, 2014 5:13 am
by bradley.radjoo
abrist wrote:This is on the NRPE devs' radars. They are working on it, and it is a bit more complicated than it first appears.
Hi, has there perhaps been any update or progress in regards to this ?
Re: Securing NRPE against weak SSL Ciphers
Posted: Tue Aug 19, 2014 9:03 am
by eloyd
Wow. I think you just won the "oldest posting that really needs a status update" award!

Re: Securing NRPE against weak SSL Ciphers
Posted: Tue Aug 19, 2014 5:15 pm
by abrist
Not yet. There is some work being done on nrpe, but it may lead to a more thoughtful rewrite. I would watch the issues on the github page:
https://github.com/NagiosEnterprises/nrpe/issues/4