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: cloud.appwrite.io #429

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

Vulnerable Service: cloud.appwrite.io #429

dalpan opened this issue Nov 22, 2024 · 0 comments

Comments

@dalpan
Copy link

dalpan commented Nov 22, 2024

Service name

cloud.appwrite.io is a service provided by Appwrite that allows clients to use custom domains by setting up a CNAME record pointing to cloud.appwrite.io.

If the custom domain is unclaimed or the associated Appwrite project is deleted, the subdomain becomes vulnerable to takeover. This occurs because the DNS record remains active, but the service no longer verifies ownership or serves content, leading to a 403 error.

Proof

Setup a CNAME pointing to cloud.appwrite.io
Example:

vulnerable.example.com CNAME cloud.appwrite.io

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

Error 1014
"CNAME Cross-User Banned."  

image

Takeover the Subdomain

Go to console and create a new Appwrite project.
Add the custom domain (vulnerable.example.com) in the Appwrite dashboard.

image

Verify ownership through DNS.
image

If it is vulnerable, the domain will change to the appwrite login page when accessed.

image

Documentation

https://appwrite.io/docs/advanced/platform/custom-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