[Esd-l] Detection rule for sendmail header exploit

John D. Hardin jhardin at impsec.org
Thu Mar 6 21:20:38 PST 2003


> > Here is a rule which may trap some versions of the attack:

> > * ^(From|To|CC|Reply-To|Resent-From): .*<>.*<>.*<>.*<>.*<>.*\(.*\)

N.B.: I just realized that it's possible the exploit may work with
improperly-formed RFC822 comments, so that trailing close parenthesis
may be a weakness in the above rule.

The published exploit code does, however, use a closing parenthesis.

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                        pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
 ...voice or no voice, the people can always be brought to the bidding
 of the leaders. That is easy. All you have to do is tell them they
 are being attacked and denounce the pacifists for lack of patriotism
 and exposing the country to danger. It works the same way in any
 country.
                                            -- Hermann Goering
-----------------------------------------------------------------------
   77 days until The Matrix Reloaded



More information about the esd-l mailing list