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.

Vulnerabilities / Threats

7/24/2020
10:25 AM
100%
0%

Email Security Features Fail to Prevent Phishable 'From' Addresses

The security features for verifying the source of an email header fail to work together properly in many implementations, according to a team of researchers.

Three standards for email security that are supposed to verify the source of a message have critical implementation differences that could allow attackers to send emails from one domain and have them verified as sent from a different — more legitimate-seeming — domain, says a research team who will present their findings at the virtual Black Hat conference next month.

Researchers have discovered 18 different ways of fooling the triumvirate of email technologies — Sender Policy Framework (SPF), Domain Keys Identified Mail (DKIM), and Domain-based Message Authentication, Reporting and Conformance (DMARC) — for a subset of email services, including Gmail, and clients, including Microsoft Outlook. While the three technologies should ensure the FROM header of an email cannot be spoofed — for example, stating that the email comes from [email protected] when, in fact, an attacker has sent it from their own mail server — undermines the authentication that the three technologies are designed to provide.

The potential for spear-phishing is significant, says Vern Paxson, a professor at the University of California at Berkeley and one of the researchers investigating the issues.

"This is really sobering because the mindset today [is] if you are using an industrial-strength mail system like Gmail, and it tells you that the message really is from '[email protected],' you are going to believe them," says Paxson, who is part of the trio of researchers who conducted the tests. "And it boils down to the fact they followed the spec, but they just did it in a different way than others may have expected."

The research highlights a major issue with component-based software design, where different development teams create software components to meet certain specifications: When the specifications are not clear, developers will often make a best guess. The resulting software may meet the specification but will react differently to edge cases.

In the current research, Paxson, post-doctoral student Jianjun Chen, and Jian Jiang, the director of engineering at Shape Security, found that the simple act, for example, of including two FROM lines in an email header can result in a mail server verifying the first FROM header while the email client displays the second FROM address. The result? An email sent from an attacker's mail server is verified as coming from a legitimate address, such as [email protected]

"At a high level, this is a general problem, which is that we build complex systems these days out of components that we get from different parties, and those parties can have inconsistencies in really minor ways that turn out to have security implications," Paxson says. "It is not anyone being boneheaded or a specification being sloppy so much as the complexity of the systems we build and the components we use, making security both hard and nasty."

The researchers created three different classes of attacks on 10 popular email providers and using 19 different email clients. The first class abuses the security assumptions of components in the same email server, while the second class exploits inconsistencies between a component on a server and one in a client-side email agent. A third class of weakness allows replay attacks in some cases, allowing attackers to make changes to an email without breaking the authentication.

Every email provider — including Google's Gmail.com, Apple's iCloud.com, Microsoft's Outlook.com, and Yahoo.com — had at least one issue that resulted in mismatched authentication, the researchers found. The FROM header in an email could be modified to include multiple addresses, for example, and iCloud and Gmail would both authenticate on the first address and display the second address.

Other attacks include adding special characters to the HELO or MAIL FROM fields of the header that are handled differently depending on the mail server.

The researchers notified email services of the research, garnering different reactions. Google fixed at least two of the issues immediately and rewarded the researchers bounties for the reports, as did Zoho.com, Mail.ru, Protonmail.com, and Fastmail.com. Other providers thanked the researchers and are analyzing the issues. Microsoft "disregarded our report (which included our paper and a video demoing [one] attack) because the threats rely on social engineering, which they view as outside the scope of security vulnerabilities," the researchers stated in a yet-to-be-published report. And Yahoo apparently misunderstood the attack details.

The research is ongoing. Even with 18 different techniques, Paxson and Chen do not believe they have exhausted the possibilities for attacks. 

"What is worrisome is that I would meet with the research group at Berkeley, and I would duck in every month or so, and [Chen] would have a few more attacks," Paxson says. "I wouldn't think that the paper is complete. It is what we could find in a year. Until we really have good tooling to find these things, I could not say that we have found them all."

Related Content:

 

 

 

Register now for this year's fully virtual Black Hat USA, scheduled to take place August 1–6, and get more information about the event on the Black Hat website. Click for details on conference information and to register.

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Enrico Fontan
50%
50%
Enrico Fontan,
User Rank: Strategist
7/24/2020 | 2:26:35 PM
Social Engineering
The bad news is that Microsoft considers Social Engineering outside the topic of security vulnerabilities.

The mid-range user has to deal with different digital information in his PC workspace and sometimes doesn't have time to check email headers to see if the sender is the correct one.

Vendors need to think like hackers and support the standard end-user as much as possible in order to avoid these types of attacks.
COVID-19: Latest Security News & Commentary
Dark Reading Staff 10/23/2020
7 Tips for Choosing Security Metrics That Matter
Ericka Chickowski, Contributing Writer,  10/19/2020
Russian Military Officers Unmasked, Indicted for High-Profile Cyberattack Campaigns
Kelly Jackson Higgins, Executive Editor at Dark Reading,  10/19/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-24847
PUBLISHED: 2020-10-23
A Cross-Site Request Forgery (CSRF) vulnerability is identified in FruityWifi through 2.4. Due to a lack of CSRF protection in page_config_adv.php, an unauthenticated attacker can lure the victim to visit his website by social engineering or another attack vector. Due to this issue, an unauthenticat...
CVE-2020-24848
PUBLISHED: 2020-10-23
FruityWifi through 2.4 has an unsafe Sudo configuration [(ALL : ALL) NOPASSWD: ALL]. This allows an attacker to perform a system-level (root) local privilege escalation, allowing an attacker to gain complete persistent access to the local system.
CVE-2020-5990
PUBLISHED: 2020-10-23
NVIDIA GeForce Experience, all versions prior to 3.20.5.70, contains a vulnerability in the ShadowPlay component which may lead to local privilege escalation, code execution, denial of service or information disclosure.
CVE-2020-25483
PUBLISHED: 2020-10-23
An arbitrary command execution vulnerability exists in the fopen() function of file writes of UCMS v1.4.8, where an attacker can gain access to the server.
CVE-2020-5977
PUBLISHED: 2020-10-23
NVIDIA GeForce Experience, all versions prior to 3.20.5.70, contains a vulnerability in NVIDIA Web Helper NodeJS Web Server in which an uncontrolled search path is used to load a node module, which may lead to code execution, denial of service, escalation of privileges, and information disclosure.