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

Add "wildcard" based detection #411

Open
liquidsec opened this issue Jan 23, 2024 · 0 comments
Open

Add "wildcard" based detection #411

liquidsec opened this issue Jan 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@liquidsec
Copy link
Collaborator

From https://book.hacktricks.xyz/pentesting-web/domain-subdomain-takeover:

When DNS wildcard is used in a domain, any requested subdomain of that domain that doesn't have a different address explicitly will be resolved to the same information. This could be an A ip address, a CNAME...
For example, if *.testing.com is wilcarded to 1.1.1.1. Then, not-existent.testing.com will be pointing to 1.1.1.1.
However, if instead of pointing to an IP address, the sysadmin point it to a third party service via CNAME, like a github subdomain for example (sohomdatta1.github.io). An attacker could create his own third party page (in Gihub in this case) and say that something.testing.com is pointing there. Because, the CNAME wildcard will agree the attacker will be able to generate arbitrary subdomains for the domain of the victim pointing to his pages.
@liquidsec liquidsec added the enhancement New feature or request label Jan 23, 2024
@liquidsec liquidsec added this to the Baddns 1.1 milestone Jan 23, 2024
@liquidsec liquidsec self-assigned this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant