nuclei-templates/http/takeovers/lemlist-takeover.yaml

37 lines
1.1 KiB
YAML

id: lemlist-takeover
info:
name: Lemlist - Subdomain Takeover Detection
author: kresec
severity: high
description: |
The takeover will succeed when the target domain has a cname that points to the lemlist and in their account they only customize the domain in the tracking column so in the custom page column, as an attacker, they can enter the target domain.
reference:
- https://www.lemlist.com/blog/custom-tracking-domain
- https://kresec.medium.com/10k-site-affected-subdomain-takeover-via-lemlist-146cd0f11883
metadata:
max-request: 1
tags: dns,takeover,lemlist
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
- "Custom domain check"
- "app.lemlist.com"
condition: and
extractors:
- type: dsl
dsl:
- "resolve(Host, 'cname')"
# digest: 4a0a00473045022100b12fa0b4978f85ed3cbe41639ef1128582cc49f9cbdf4a80f3a5bdb0be0bee31022045c0a3b23c1b9d3d1ef6be6d6259807aecab1191bf352df7c7f035044e3c5497:922c64590222798bb761d5b6d8e72950