Re: [exim] bypassing exim string expansion with invalid addr…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users@exim.org
Sujet: Re: [exim] bypassing exim string expansion with invalid addresses
On 13 Mar 2019, at 09:55, Cyborg via Exim-users <exim-users@???> wrote:
> I forgot to add the "attack" pattern:
>
> From: "ONLINE PHARMACY" <guclxfh@???>


Valid per RFC5322.

>       R="CANADA-DRUGSTORE" guclxfh@???>"


Invalid per RFC5322. If it’s invalid, addresses cannot be extracted. We can only code against the valid format, as forms of invalidity are for all practical purposes infinite.

You *could* do a check against the existence of the Reply-to: header, and if it’s invalid, score or reject.

Graeme