Open
Description
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:
- 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
Activity