Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Attacks/Breaches

MIME Vulnerabilities Rear Up Again

Years after the ubiquitous email standard was developed, researchers are still finding security flaws in it

Email attachments that use the popular MIME standard could contain malware that bypasses some of the industry's best-known antivirus filters, a security researcher said yesterday.

German researcher Hendrik Weimer, author of Quantenblog, reported a discrepancy between MIME messaging systems and AV applications -- including BitDefender, ClamAV, and Kaspersky's Antivirus for Linux -- that could cause users to contract malware even when they use the AV software.

The report raises some old concerns about MIME, which came under fire two years ago for a broad range of vulnerabilities that required a long round of patching.

The new flaw could be significant, Weimer says in his blog. "From time to time, a vulnerability is found in a virus scanner that allows an attacker to disguise malicious content," he says. "Much rarer are discoveries of new attack classes that are able to blindfold not one, but many virus scanners. Here is one."

The Multipurpose Internet Mail Encoding standard was written in the days when email was text-only, and only guaranteed that seven of each eight bits in a byte would make it through, explains the SANS Institute, which has studied Weimer's discovery. To ensure the integrity of each attachment, MIME encodes eight-bit content into seven-bit email messages, using an encoding scheme with an "alphabet" of 64 characters.

"If you come across a character that isn't a part of your alphabet, you're supposed to ignore it and move on," the SANS Institute says. "The problem arises when an AV engine doesn't follow this standard, but the email program does. The AV engine doesn't scan the attachment properly, but the email program presents the fully-decoded attachment for the end-user's clicking pleasure."

In simpler terms, the discovery means that some AV apps could allow users to receive attachments infected with malware -- even malware that isn't zero-day.

The flaw is a new problem for the widely-used MIME, which came under fire two years ago when security consultancy Corsaire uncovered more than 800 vulnerabilities in MIME-based email apps and gateway products. The vulnerabilities, which consisted of 190 attack vectors arising from 14 core flaws in MIME, were subsequently patched in most email and virus scanning tools. Several other MIME flaws have been reported in the past year, but most were not considered critical.

The new vulnerability probably applies to other virus scanners as well, Weimer says, though he hasn't tested them yet. Although AV vendors have not yet responded to the vulnerability report, Weimer recommends a workaround: Use a separate daemon that employs a different method of MIME decoding, such as the open source amavisd-new.

— Tim Wilson, Site Editor, Dark Reading

  • BitDefender
  • Kaspersky Lab Tim Wilson is Editor in Chief and co-founder of Dark Reading.com, UBM Tech's online community for information security professionals. He is responsible for managing the site, assigning and editing content, and writing breaking news stories. Wilson has been recognized as one ... View Full Bio

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    Edge-DRsplash-10-edge-articles
    7 Old IT Things Every New InfoSec Pro Should Know
    Joan Goodchild, Staff Editor,  4/20/2021
    News
    Cloud-Native Businesses Struggle With Security
    Robert Lemos, Contributing Writer,  5/6/2021
    Commentary
    Defending Against Web Scraping Attacks
    Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
    Register for Dark Reading Newsletters
    White Papers
    Video
    Cartoon
    Current Issue
    2021 Top Enterprise IT Trends
    We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
    Flash Poll
    How Enterprises are Developing Secure Applications
    How Enterprises are Developing Secure Applications
    Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    CVE-2020-23691
    PUBLISHED: 2021-05-14
    YFCMF v2.3.1 has a Remote Command Execution (RCE) vulnerability in the index.php.
    CVE-2020-18166
    PUBLISHED: 2021-05-14
    Unrestricted File Upload in LAOBANCMS v2.0 allows remote attackers to upload arbitrary files by attaching a file with a ".jpg.php" extension to the component "admin/wenjian.php?wj=../templets/pc".
    CVE-2020-18167
    PUBLISHED: 2021-05-14
    Cross Site Scripting (XSS) in LAOBANCMS v2.0 allows remote attackers to execute arbitrary code by injecting commands into the "Homepage Introduction" field of component "admin/info.php?shuyu".
    CVE-2020-23689
    PUBLISHED: 2021-05-14
    In YFCMF v2.3.1, there is a stored XSS vulnerability in the comments section of the news page.
    CVE-2021-25941
    PUBLISHED: 2021-05-14
    Prototype pollution vulnerability in 'deep-override' versions 1.0.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.