You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the DNS-rebinding option is not working correctly when no hostname has been supplied. I have set my DNS-rebinding to the host xxx.mydomain.com but visiting from my WAN-ip I can still access the OPNSense-GUI. Visiting from other domains seems to still trigger the DNS-rebinding.
I'm 100% sure this issue was not existing in a previous version of OPNSense.
To Reproduce
Steps to reproduce the behavior:
Enable DNS-rebinding.
Visit your Router from the IP-directly without supplying a hostname.
DNS-rebinding has been bypassed successfully.
Expected behavior
That DNS-rebinding also works when a user did not supply any hostname.
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.11_2-amd64
The text was updated successfully, but these errors were encountered:
Sanderluc5
changed the title
DNS-rebinding is not working when no hostname is supplied.
DNS-rebinding is not triggering when no hostname is supplied.
Dec 29, 2024
Sanderluc5
changed the title
DNS-rebinding is not triggering when no hostname is supplied.
The DNS-rebind check is not triggering when no hostname is supplied.
Dec 29, 2024
Thank you for creating an issue.
Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.
These parts haven't been changed in over 2 years, looking at the code, it seems to be doing what it should (ignore ip addresses when validating for hostnames).
Describe the bug
It seems that the DNS-rebinding option is not working correctly when no hostname has been supplied. I have set my DNS-rebinding to the host xxx.mydomain.com but visiting from my WAN-ip I can still access the OPNSense-GUI. Visiting from other domains seems to still trigger the DNS-rebinding.
I'm 100% sure this issue was not existing in a previous version of OPNSense.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That DNS-rebinding also works when a user did not supply any hostname.
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.11_2-amd64
The text was updated successfully, but these errors were encountered: