Medium Severity

Open redirect: EWeb logout redirect

Description

Detects inbound messages containing links to an '/eweb/' logout.aspx page whose redirecturl query parameter points to an off-site domain rather than back to the originating site, indicating abuse of a legitimate logout redirect mechanism. Messages from highly trusted sender domains are excluded unless they fail DMARC authentication.

References

No references.

Sublime Security
Created Oct 2nd, 2026 • Last updated Oct 2nd, 2026
Source
type.inbound
and any(body.links,
        strings.icontains(.href_url.path, '/eweb/')
        and strings.iends_with(.href_url.path, 'logout.aspx')
        and any(regex.iextract(.href_url.query_params, 'redirecturl=([^&]+)'),
                strings.parse_url(.groups[0]).domain.valid
                // a legitimate logout returns to the same site; an off-site destination is the abuse
                and strings.parse_url(.groups[0]).domain.root_domain != ..href_url.domain.root_domain
        )
)

// 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