Check: SRG-APP-000176-DNS-000019
Domain Name System (DNS) SRG:
SRG-APP-000176-DNS-000019
(in versions v4 r1 through v2 r4)
Title
Read/Write access to the key file must be restricted to the account that runs the name server software only. (Cat II impact)
Discussion
To enable zone transfer (requests and responses) through authenticated messages, it is necessary to generate a key for every pair of name servers. The key can also be used for securing other transactions, such as dynamic updates, DNS queries, and responses. The binary key string that is generated by most key generation utilities used with DNSSEC is Base64-encoded. TSIG is a string used to generate the message authentication hash stored in a TSIG RR and used to authenticate an entire DNS message.
Check Content
Review the DNS system to determine privileges on the key file and the account under which the name server software is run. If the account under which the name server software is run is not the only account which has read/modify permissions to the key file, this is a finding.
Fix Text
Apply permissions to the key file to provide read/modify permissions only to the account under which the name server software is run.
Additional Identifiers
Rule ID: SV-205172r961041_rule
Vulnerability ID: V-205172
Group Title: SRG-APP-000176
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000186 |
For public key-based authentication, enforce authorized access to the corresponding private key. |
Controls
Number | Title |
---|---|
IA-5(2) |
Pki-based Authentication |