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

Discourse hosted subdomain takeover possible? #49

Open
chackmate opened this issue Oct 6, 2018 · 6 comments
Open

Discourse hosted subdomain takeover possible? #49

chackmate opened this issue Oct 6, 2018 · 6 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@chackmate
Copy link

Is subdomains hosted at discourse is vulnerable to takeover or not?

@codingo codingo added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 14, 2018
@mardinyadegar
Copy link

It doesn't appear so, I found a discourse subdomain that was serving me a 404 when visiting. Upon trying to create a demo using the subdomain that was returning a 404, I was given the following error you can see in the attached image.
screen shot 2019-01-08 at 10 35 02 pm

@pdelteil
Copy link
Contributor

More info from 2017.

https://hackerone.com/reports/264494

@jbreed
Copy link

jbreed commented Dec 16, 2020

@pdelteil Following back up on this. Do we know what the site displays (search text) for when a domain is vulnerable? Seems like this is pretty old, but not seeing it anywhere.

@NagliNagli
Copy link

So yesterday I found a google acquisition who pointed to xxx.trydiscourse.com, I registered the discourse account with the trial and managed to takeover the CNAME the original one pointed to, for some weird caching issues the original domain remained at 404, but I managed to takeover the CNAME linked to it.

@h3cksamrat
Copy link

I found out that
*.trydiscourse.com is vulnerable
whereas,
*.hosted-by-discourse.com is not vulnerable.

So, subdomain takeover on discourse is possible in edge cases.

@ghost
Copy link

ghost commented Mar 10, 2021

I can confirm that *.hosted-by-discourse.com is not vulnerable.
When you sign up they give you a unique CNAME and they validate that you have the correct CNAME in your DNS config.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants