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

AWS Route 53 no longer vulnerable #122

Closed
thr3athunt3r opened this issue Sep 13, 2022 · 4 comments
Closed

AWS Route 53 no longer vulnerable #122

thr3athunt3r opened this issue Sep 13, 2022 · 4 comments
Labels
question Further information is requested

Comments

@thr3athunt3r
Copy link

AWS Route 53 no longer vulnerable to takeover domains with dangling delegation records

@SimonGurney
Copy link
Contributor

SimonGurney commented Sep 13, 2022

Hi,

I did a Route53 takeover for a demo at BSIDES Newcastle just a couple weeks ago, what makes you think you cant take it over?

I've noted sometimes it doesnt work, but for me most of the time it does.

Linky to the recording: https://youtu.be/GGfQlPZSRk4?t=712

@SimonGurney
Copy link
Contributor

SimonGurney commented Sep 13, 2022

My theory is that sometimes it doesnt work because the domain isactually configured, but as a private hosted zone ands not public. This means it is installed on the nameservers but only resolves when queired from the same aws account.

Unfortunately, you cannot tell if its not configured at all or configured as a private zone.

@thr3athunt3r
Copy link
Author

thr3athunt3r commented Sep 13, 2022 via email

@SimonGurney
Copy link
Contributor

Hmmm, its a fair point. It's a bit of an edge case.

This takeover is definitely possible in some cases, but there are some protections (which you have linked).

I'll add a comment to the information we return for this signature to state that its a bit of an edge case.

@SimonGurney SimonGurney added the question Further information is requested label Sep 28, 2022
SimonGurney added a commit that referenced this issue Dec 23, 2022
SimonGurney added a commit that referenced this issue Jan 6, 2023
* fix: add note to r53 takover #122

* feat: add more_info_url to signatures

* feat: add more_info_url to finding

* fix: check the str rep

* fix: handle NS record checks gracefully

* feat: add aws ns more info url

* fix: url is on the test not the signature

* fix: cant provide multiple resolvers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants