Habr•September 5, 2026•🇷🇺Translated from Russian

Gmail Address Variants Bypass String Comparison and Enable Multiple Registrations

A developer investigation revealed that one user had successfully registered four separate accounts using only legitimate Gmail address variants that all route to the same mailbox: Ivan.Petrov@gmail.com, ivanpetrov@gmail.com, ivan.petrov+shop@gmail.com, and IVAN.PETROV@gmail.com.

Colleagues noticed more user records than actual people in the database. The discrepancy traced back to a single line of code that compared email addresses as raw strings without normalization.

Gmail treats the local part of an address case-insensitively, discards everything after a plus sign, and ignores dots. These rules let one inbox generate an unlimited number of distinct strings that still receive mail at the same destination.

Why string comparison fails

Three common cases break naive equality checks:

  • Case differences in the local part or domain
  • Plus-addressing suffixes such as +shop or +promo
  • Dots inserted anywhere in the local part of a Gmail address

Normalization must be applied selectively. Dots are ignored only for gmail.com and googlemail.com; applying the same rule to other providers would incorrectly merge unrelated mailboxes.

Homograph domain attacks

A separate but related threat appears when domains contain visually identical Cyrillic characters. The string еxample.ru (with Cyrillic е) encodes under IDNA to xn--xample-2of.ru, creating a look-alike address that passes superficial inspection yet points elsewhere.

Recommended implementation

Store two fields: the original address for sending mail and a normalized address for uniqueness enforcement. Perform lower-casing on the entire address, strip plus-suffixes only for Gmail, remove dots only for Gmail, and run every submitted domain through IDNA encoding to detect hidden non-ASCII labels. A simple confirmation email remains the most reliable validator of deliverability.

A diagnostic query can surface existing problems by grouping on the normalized domain and comparing raw versus deduplicated local parts.

Related articles

Securitylab•Vulnerabilities & Exploits

AS-REP Roasting: How One Kerberos Setting Moves Password Cracking Outside the Domain

In Active Directory, a single user account with Kerberos pre-authentication disabled allows an attacker to obtain material for offline password cracking without ever contacting the domain controller again after the initial request. The KDC returns an AS-REP response encrypted with a key derived from the user password, enabling offline verification using tools such as Hashcat. The attack chain consists of LDAP enumeration or name listing to locate accounts with the ADS_UF_DONT_REQUIRE_PREAUTH flag, requesting an AS-REP via GetNPUsers from Impacket, and then performing offline brute-force attempts. Unlike online login attempts, the offline phase bypasses account lockout policies and leaves fewer traces in domain controller logs. Successful recovery of credentials must still be followed by validation of actual access rights using tools such as Evil-WinRM before any lateral movement or privilege escalation can be assessed. The technique differs from Kerberoasting because it targets user accounts without SPNs rather than service accounts. Organizations are advised to audit for the dangerous flag, enforce strong passwords on affected accounts, and monitor for unusual AS-REQ traffic patterns.

BoletimSec•Vulnerabilities & Exploits

Misconfiguration in Azure API Management Exposes Corporate Credentials in Classic Tiers

Microsoft identified a security flaw in Azure API Management on November 18 that allowed unauthorized access to management functions when instances were not configured according to documented best practices. The issue affected only classic tiers, leaving v2 instances unaffected, and was closed the following day. Exposed data included Named Values secrets, client secrets for identity providers and OpenID Connect, signing keys, and direct management API tokens. Norway’s NSM reported active targeting of these credentials and notified affected Norwegian energy companies including Equinor and Skagerak Energi. Researcher Anders Kristiansen noted that stolen credentials could be used directly against protected backend services depending on their permissions. On November 21 Microsoft published guidance urging customers to rotate all exposed secrets and review configurations against best practices.

AntiMalware•Vulnerabilities & Exploits

Attackers Exploit Critical Fail2Install Vulnerability in Drupal Core

Cybercriminals have begun actively exploiting the critical Fail2Install vulnerability (CVE-2026-132165) in the Drupal content management system core. The flaw carries a CVSS score of 9.8 and can allow attackers to seize control of live websites or execute arbitrary code remotely without authentication under certain conditions. CISA has added the issue to its Known Exploited Vulnerabilities catalog, mandating that U.S. federal agencies apply patches by November 27, 2026. Researchers at Searchlight Cyber determined that the problem arises from error handling during database connection failures, which can cause Drupal to incorrectly treat an operational site as uninstalled and restart the installation process. This bypasses security boundaries between public components and administrative functions, potentially enabling arbitrary PHP code execution. The vulnerability impacts Drupal versions 8.9, 9, 10, and 11 when paired with Apache or PHP-FPM and MySQL or PostgreSQL databases. It marks the third actively exploited Drupal flaw in 2026, following CVE-2026-9082 and CVE-2026-118539.

Security NEXT•Vulnerabilities & Exploits

Critical Drupal Vulnerabilities Enable Unauthenticated Site Takeover and Remote Code Execution

Drupal has disclosed two severe vulnerabilities that allow attackers to hijack websites without authentication. The issues, tracked as CVE-2026-132165 and CVE-2026-132166, were addressed in security updates released on November 18, 2026. CVE-2026-132165 was discovered by Anthropic's open-source vulnerability detection tool and rated Highly critical. Exploitation attempts were reported the following day. The flaws originate in the installer component, permitting remote code execution and full site compromise under specific conditions. While certain server configurations can partially mitigate some attack paths, they do not block all vectors.