Medium Severity

Open redirect: Xfinity CMP Redirection to Google AMP

Description

Detects when non-Xfinity senders abuse Xfinity's CMP redirection service to reach Google AMP pages. The rule specifically looks for targetURL parameters containing Google AMP paths in links from untrusted or previously malicious senders.

References

No references.

Sublime Security
Created Jan 3rd, 2025 • Last updated Sep 23rd, 2026
Source
type.inbound
and any(body.links,
        .href_url.domain.domain == "cmp.cws.xfinity.com"
        and strings.icontains(.href_url.query_params, "&targetURL=")
        and regex.icontains(.href_url.query_params,
                            '&targetUrl=(?:https?)?(?:(?:%3a|\:)?(?:\/|%2f){2})?google\.[^\&]*\/+amp\/+s\/+'
        )
)
and not sender.email.domain.root_domain in ("xfinity.com", "comcast.net")

// negate highly trusted sender domains unless they fail DMARC authentication
and not (
  sender.email.domain.root_domain in $high_trust_sender_root_domains
  and coalesce(headers.auth_summary.dmarc.pass, false)
)
MQL Rule Console
•Docs•Learning Labs

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Deploy and integrate a free Sublime instance in minutes.
Get Started