Welcome! Log In Create A New Profile

Advanced

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Maxim Dounin
November 20, 2009 07:16PM
Hello!

On Fri, Nov 20, 2009 at 03:14:29PM -0800, Quanah Gibson-Mount wrote:

> I've patched nginx, and tested https, POPS, and IMAPS. https fails
> correctly:
>
> ---
> R
> RENEGOTIATING
>
> 3915:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake
> failure:s3_pkt.c:529:
>
> However, POPS and IMAPS do not:
>
> ---
> * OK IMAP4 ready
> R
> RENEGOTIATING
>
> <hangs forever>
>
> ---
> +OK POP3 ready
> R
> RENEGOTIATING
>
> <hangs forever>
>
> It seems the patch only correctly handles HTTPS, and not these other
> protocols.

What patch you used, nginx version and openssl version? Recent
nginx versions (0.8.23+, 0.7.64) already has workarounds for older
openssl libraries and correctly disable renegotiation in all
mentioned cases, closing connection immediately. At least they do
so on all openssl versions I've tested.

The only connection hang till timeout I'm aware of is proxy_pass
https://... when backend asks for renegotiation. It isn't easy
to catch this case without touching openssl code (or enabling
renegotiation), so it was left as is. After all, it's openssl
problem.

Maxim Dounin
Subject Author Posted

VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Quanah Gibson-Mount November 20, 2009 06:20PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Maxim Dounin November 20, 2009 07:16PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Quanah Gibson-Mount November 20, 2009 07:22PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Maxim Dounin November 20, 2009 07:54PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Quanah Gibson-Mount November 20, 2009 08:20PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Maxim Dounin November 20, 2009 09:56PM

Re: VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx

Quanah Gibson-Mount November 20, 2009 10:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready