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

Vulnerable Service: makeswift.site #430

Open
dalpan opened this issue Nov 22, 2024 · 0 comments
Open

Vulnerable Service: makeswift.site #430

dalpan opened this issue Nov 22, 2024 · 0 comments

Comments

@dalpan
Copy link

dalpan commented Nov 22, 2024

makeswift.site is a service provided by MakeSwift that enables clients to use custom domains via CNAME records pointing to makeswift.site.

When the associated MakeSwift project is deleted or not configured properly, the subdomain becomes unclaimed, resulting in a 404 error. This state renders the subdomain vulnerable to takeover.

Proof

Setup a CNAME pointing to makeswift.site
Example:

vulnerable.example.com CNAME makeswift.site  

Check for Vulnerability
Access the subdomain (https://vulnerable.example.com) and observe a response like (Error Vercel):

404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND

image

Takeover the Subdomain

Go to setting MakeSwift project.
Add the custom domain (vulnerable.example.com) in the MakeSwift dashboard.

image

Verify ownership through DNS and Set as primary domain

image

if the subdomain is vulnerable, it will show the page that we created

image

Documentation

https://docs.makeswift.com/product/site/domains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant