BIND-9X-001490 - On the BIND 9.x server, the platform on which the name server software is hosted must be configured to send outgoing DNS messages from a random port.

Information

OS configuration practices as issued by the U.S. Computer Emergency Response Team (US CERT) and the National Institute of Standards and Technology's (NIST's) National Vulnerability Database (NVD), based on identified vulnerabilities that pertain to the application profile into which the name server software fits should be always followed. In particular, hosts that run the name server software should not provide any other services and therefore should be configured to respond to DNS traffic only. In other words, the only allowed incoming ports/protocols to these hosts should be 53/udp and 53/tcp.

Outgoing DNS messages should be sent from a random port to minimize the risk of an attacker guessing the outgoing message port and sending forged replies.

Solution

Edit the 'named.conf' file.

Configure the BIND 9.x server to not specify ports for the query-source address or query-source-v6 address statements:

options {
query-source address <v4_address>;
query-source-v6 address <v6_address>;
};

Restart the BIND 9.x process.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_BIND_9-x_V3R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-272402r1124060_rule, STIG-ID|BIND-9X-001490, Vuln-ID|V-272402

Plugin: Unix

Control ID: ce867427eedcdfedb6bd85b2aceefb4f57d59dabfe849f66644ee703c1c8c113