Email Parsing Mismatches Across Systems Can Enable Account Takeovers
A single email address can pass through validation, authentication, and delivery layers that normalize it differently, creating security gaps. Lookalike Unicode characters such as Cyrillic letters can slip past uniqueness checks or fold into an existing admin identifier. Invisible characters like zero-width spaces and null bytes can cause the auth database and mailer to treat the same address as different recipients, redirecting reset links. Gmail's disregard for dots can let attackers pre-register variants that hijack state when victims later sign in via OAuth. Recommended defenses include converting domains to Punycode, stripping invisible and control characters, using ASCII-only case folding, and parameterizing mail headers to prevent CRLF injection.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in