DEF CON 32 - Splitting the email atom  exploiting parsers to bypass access controls - Gareth Heyes

DEF CON 32 - Splitting the email atom exploiting parsers to bypass access controls - Gareth Heyes

Source: YouTube · DEFCONConference · published Oct 16, 2024 · 36:17

Cybersecurity
No ratings yet Log in to rate
Transcript Available
Description

The video demonstrates how RFC-compliant email addresses can be manipulated to bypass access controls through parsing discrepancies, leading to serious security vulnerabilities 0:00.

Key Takeaways:
• Email parsing discrepancies allow bypassing domain-based access controls as many systems incorrectly validate where RFC-compliant emails are actually delivered 2:05
• Encoded word attacks (RFC 2047) enable bypassing validation in systems using Ruby mail library, affecting major platforms like GitLab and GitHub 12:46
• The speaker achieved remote code execution in Juma using Punycode to inject style tags and exfiltrate tokens via CSS import chaining 28:35
• Unicode overflow techniques allow bypassing character restrictions by manipulating how higher Unicode values are truncated to ASCII 9:55
• Source routing and ancient protocols like UUCP "bang paths" can cause emails to route to completely different domains than expected 4:25

The research shows that email domains should never be used as a sole means of authorization due to these fundamental parsing vulnerabilities 35:25.

Sources:

  • 0:00 Introduction to email parsing vulnerabilities
  • 2:05 Explanation of email parsing complexity
  • 4:25 Source routing and UUCP "bang paths"
  • 9:55 Unicode overflow techniques
  • 12:46 Encoded word attacks and Ruby mail library vulnerabilities
  • 28:35

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 0.5 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Cybersecurity. Commonly maps to: Security and Risk Management, Security Operations. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

welcome to splitting the email atom exploiting parses to bypass access controls email addresses might seem mundan but the rfc's governing them are downright Bonkers I'll show you why predicting an email destination is highly complex and I'll take you on a journey of ancient protocols exotic encodings access control bypasses and how I gained remote code execution from an RFC compliant email address first I'll explain why email address parcy discrepancies matter next I'll cover the shaky foundations that emails are built on the core of the talk will focus on Pary discrepancies including Unicode overflows encoded word and Punic code all with real world case studies then I'll share my methodology and tools for automating exploitation followed by advice on defense I'll conclude with the key tak…