Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Takeover #7562

Closed
brianlam38 opened this issue Jun 27, 2023 · 1 comment · Fixed by #7674
Closed

Vercel Takeover #7562

brianlam38 opened this issue Jun 27, 2023 · 1 comment · Fixed by #7674
Assignees
Labels
Done Ready to merge template-contribution Nuclei template contribution

Comments

@brianlam38
Copy link

brianlam38 commented Jun 27, 2023

Template Information:

Subdomain takeover through Vercel is possible though limited to edge cases. See reference here.

Nuclei Template:

id: vercel-takeover

info:
  name: vercel takeover detection
  author: brianlam38
  severity: high
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/183
  tags: takeover,vercel
  metadata:
    max-request: 1

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - Host != ip

      - type: word
        part: body
        words:
          - "The deployment could not be found on Vercel"

Redacted template result:

[INF] [vercel-takeover] Dumped HTTP request for {redacted}

GET / HTTP/1.1
Host: {redacted}
User-Agent: {redacted}
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

[DBG] [vercel-takeover] Dumped HTTP response {redacted}

HTTP/1.1 404 Not Found
Connection: close
Content-Length: 67
Content-Type: text/plain; charset=utf-8
Date: Tue, 27 Jun 2023 23:16:14 GMT
Server: Vercel
X-Vercel-Error: DEPLOYMENT_NOT_FOUND
X-Vercel-Id: {redacted}

The deployment could not be found on Vercel.
@brianlam38 brianlam38 added the template-contribution Nuclei template contribution label Jun 27, 2023
@brianlam38 brianlam38 changed the title [nuclei-template] Vercel Takeover Jun 27, 2023
@ritikchaddha ritikchaddha linked a pull request Jul 12, 2023 that will close this issue
2 tasks
@ritikchaddha ritikchaddha added the Done Ready to merge label Jul 12, 2023
@DhiyaneshGeek
Copy link
Member

Hi @brianlam38 thank you so much for sharing this template with the community and contributing to this project 🍻

You can join our discord server. It's a great place to connect with fellow contributors and stay updated with the latest developments. Thank you once again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge template-contribution Nuclei template contribution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants