CCE-91182-6Platform: cpe:/o:ubuntu:ubuntu_linux:14.04, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2017-03-14 (M)2023-09-01 |
The /etc/hosts.deny file specifies which IP addresses are not permitted to connect to the host. It is intended to be used in conjunction with the /etc/hosts.allow file.
Rationale:
The /etc/hosts.deny file serves as a failsafe so that any host not specified in /etc/hosts.allow is denied access to the server.
Fix:
Create /etc/hosts.deny:
# echo ALL: ALL >> /etc/hosts.deny
Parameter:
[exists/does_not_exist]
Technical Mechanism:
Create /etc/hosts.deny:
# echo ALL: ALL /etc/hosts.deny
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.1 | Attack Vector: NETWORK |
Exploit Score: 2.2 | Attack Complexity: HIGH |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92377 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70732 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:33901 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70642 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85077 |