1. BIND weaknesses: nxt, qinv and in.named allow immediate root compromise.
The Berkeley Internet Name Domain (BIND) package is the most widely used implementation of Domain Name Service (DNS) -- the critical means by which we all locate systems on the Internet by name (e.g.,
http://www.sans.org) without having to know specific IP addresses -- and this makes it a favorite target for attack. Sadly, according to a mid-1999 survey, about 50% of all DNS servers connected to the Internet are running vulnerable versions of BIND. In a typical example of a BIND attack, intruders erased the system logs, and installed tools to gain administrative access. They then compiled and installed IRC utilities and network scanning tools, which they used to scan more than a dozen class-B networks in search of additional systems running vulnerable versions of BIND. In a matter of minutes, they had used the compromised system to attack hundreds of remote systems abroad, resulting in many additional successful compromises. This illustrates the chaos that can result from a single vulnerability in the software for ubiquitous Internet services such as DNS.
Systems Affected:
Multiple UNIX and Linux systems
CVE Entries:
nxt CVE-1999-0833
qinv CVE-1999-0009
Other related entries CVE-1999-0835, CVE-1999-0848, CVE-1999-0849, CVE-1999-0851
Advice on correcting the problem:
A. Disable the BIND name daemon (named) on all systems that are not authorized to be DNS servers. Some experts recommend you also remove the DNS software.
B. On machines that are authorized DNS servers, update to the latest version and patch level. Use the guidance contained in the following advisories:
For the NXT vulnerability:
http://www.cert.org/advisories/CA-99-14-bind.html
For the QINV (Inverse Query) and NAMED vulnerabilities:
http://www.cert.org/advisories/CA-98.05 ... blems.html
http://www.cert.org/summaries/CS-98.04.html
C. Run BIND as a non-privileged user for protection in the event of future remote-compromise attacks. (However, only processes running as root can be configured to use ports below 1024 – a requirement for DNS. Therefore you must configure BIND to change the user-id after binding to the port.)
D. Run BIND in a chroot()ed directory structure for protection in the event of future remote-compromise attacks.