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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Graeme Fowler
Päiväys:  
Vastaanottaja: exim-users@exim.org
Aihe: 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