IPTables / Avoiding UDP Vuln
Anyone have any suggestions for IPTables rules that can be used to avoid this type of firewall vulnerability? Also anyone know of a simple method of testing it?
I can see methods of protecting yourself if you are not running an authoritative DNS server… however if you are… it seems a bit more tricky.
4 Replies
@vitrum:
http://cgi.nessus.org/plugins/dump.php3?id=11580 Anyone have any suggestions for IPTables rules that can be used to avoid this type of firewall vulnerability? Also anyone know of a simple method of testing it?
I can see methods of protecting yourself if you are not running an authoritative DNS server… however if you are… it seems a bit more tricky.
This seems to be a vulnerabilty in Kerio Personal Firewall as per the referenced BugTraq ID. As long as you don't open a hole for everything with udp src port 53 you should be fine.
And I don't know is this a vuln that only affects Kerio? I read that too, but I also read a few places that lead me to believe this affects IPTables as well…
/sbin/iptables -A INPUT -p udp --dport 53 -j ACCEPT
/sbin/iptables -A INPUT -p udp -m state --state ESTABLISHED --sport 53 -j ACCEPT
/sbin/iptables -A INPUT -p udp --sport 53 -j DROP
Jacques