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

Unexpected HTTP/HTTPS Prefix in Subdomain Enumeration Results #1152

Closed
whydee86 opened this issue Feb 12, 2024 · 1 comment · Fixed by #1166
Closed

Unexpected HTTP/HTTPS Prefix in Subdomain Enumeration Results #1152

whydee86 opened this issue Feb 12, 2024 · 1 comment · Fixed by #1166
Assignees
Labels
investigation investigation Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@whydee86
Copy link

Describe the bug
During a routine subdomain enumeration using Subfinder, I encountered an unusual behavior where some of the enumerated subdomains were prefixed with http:// and one with http, which deviates from the expected format. This issue was observed in a small subset of the results (6 out of 4826 subdomains). Typically, Subfinder outputs subdomains in a plain text format without any protocol prefixes. The unexpected inclusion of http:// and http in the subdomain names could potentially affect downstream processing or analysis of the enumeration data.

Subfinder version
v2.6.5

Complete command you used to reproduce this

subfinder -d pages.services -all -o bugs.txt

Expected behavior
Subdomains should be listed without any HTTP/HTTPS prefixes, adhering to the format subdomain.domain.com.pages.services,[source]. For instance:

  • info.saubermfg.com.pages.services,[netlas,zoomeyeapi]
  • care.weltyhome.org.pages.services,[netlas,zoomeyeapi]

Actual Results
A few subdomains were listed with an unexpected http:// prefix and one with an incorrect http prefix:

Additional context
This is the first time I've encountered this issue despite using Subfinder for an extended period. The bug only appeared on 6 subdomains out of 4826 in the results, which suggests it might be a rare or conditional occurrence.

Screenshots
image

@olearycrew
Copy link
Contributor

I can only assume that is because one of those APIs is returning that - but then I also looked into it and it turns out there are DNS records with that http:// as part of the DNS name:

CleanShot 2024-02-12 at 10 42 57

That is technically outside of the RFC for DNS I think but 🤷

@dogancanbakir dogancanbakir self-assigned this Feb 19, 2024
@dogancanbakir dogancanbakir added the investigation investigation label Feb 26, 2024
@dogancanbakir dogancanbakir added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation investigation Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants