Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Corsaire Security Advisory - Multiple vendor MIME RFC2047 encoding issue |
|---|---|
| Date: | Wed, 15 Sep 2004 11:41:58 -0400 (EDT) |
On Tue, 14 Sep 2004, David F. Skoll wrote:
On Tue, 14 Sep 2004, advisories wrote:- It identifies the MIME message as malformed and blocks it. - It fails to interpret the MIME field (or message).The first of the two would be the correct behaviour for a security conscious product,I disagree. There is one, and only one, way for gateway security products to securely handle MIME messages: Build a data structure representing the MIME message, and then throw away the original message, re-generating a *valid*, well-formed MIME message from the data structure. This method alone guarantees[1] that the security product has exactly the same interpretation of the message as any other software that subsequently receives it. It also has the benefit of providing a "reasonable" interpretation for common MIME errors---blocking all mail that deviates even the slightest from the official MIME specifications would result in a significant fraction of all e-mail being blocked.
Two points: 1. A quibble. As you implicitly note, both canonicalizing MIME messages and dropping malformed ones are secure approaches. Dropping all incoming messages would also be a secure approach. It's fair to argue that canonicalizing is the more useful policy, but not that it is the only secure one. 2. Your logic sounds convincing, but interposing a proxy that systematically changes incoming messages raises red flags in my mind. Naive obscenity filters have created all sorts of problems doing this sort of thing. Yours is a more sophisticated approach, but I still see the potential for strange interactions between the gateway security product's MIME implementation and those of sending and receiving programs. Have you found this to be a problem, for those who've been using this filter? ----------------------------------------------------------------- David Covin dcovin@nmr.mgh.harvard.edu MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging 149 (2301) 13th Street Charlestown, MA 02129 USA
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | SUSE Security Announcement: cups (SUSE-SA:2004:031), Sebastian Krahmer |
|---|---|
| Next by Date: | Re: cdrecord local root exploit, Volker Kuhlmann |
| Previous by Thread: | Re: Corsaire Security Advisory - Multiple vendor MIME RFC2047 encoding issue, David F. Skoll |
| Next by Thread: | Re: Corsaire Security Advisory - Multiple vendor MIME RFC2047 encoding issue, Borja Marcos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |