• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfmail multipart treated as a virus

Community Beginner ,
Feb 02, 2007 Feb 02, 2007

Copy link to clipboard

Copied

Hello,

I have created a multipart message using cfmail and cfmailpart, there's a text part and an html part that includes inline images. The messages are being caught by our email antivirus (declude). The antivirus message states that the message contains "the [Outlook 'Space Gap' Vulnerability]"

The vulnerability can be defined as:

This vulnerability occurs when there is a space in one of the MIME
headers where there is not normally a space (such as "Content-Type
:" instead of "Content-Type:"). This is not RFC-compliant, but
Outlook will treat it as valid and be able to see a virus that
virus scanners will not usually see. There is no legitimate reason
for an email to be formed like this.

When I look at the source of the email message, it appears that coldfusion does the following to the mime headers:

Mime-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_401935_27323735.1170444413143"

I think the newline and tab before the boundry declaration are creating the problem.

Any help would be much apprecitated.

thanks.
TOPICS
Advanced techniques

Views

271

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Feb 02, 2007 Feb 02, 2007
Figured it out. There was a space in the file name of one of the inline images.

Votes

Translate

Translate
Community Beginner ,
Feb 02, 2007 Feb 02, 2007

Copy link to clipboard

Copied

LATEST
Figured it out. There was a space in the file name of one of the inline images.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation