CCE-95708-4Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-07-27 (M)2023-09-01 |
Configure the loopback interface to accept traffic. Configure all other interfaces to deny
traffic to the loopback network (127.0.0.0/8).Loopback traffic is generated between processes on machine and is typically critical to
operation of the system. The loopback interface is the only place that loopback network
(127.0.0.0/8) traffic should be seen, all other interfaces should ignore traffic on this
network as an anti-spoofing measure.
FIX:
Make sure iptables-persistent installed.
If you are using iptables,
# iptables -A INPUT -i lo -j ACCEPT
# iptables -A OUTPUT -o lo -j ACCEPT
# iptables -A INPUT -s 127.0.0.0/8 -j DROP
or
If you are using ufw,
# ufw allow in on lo
# ufw deny in from 127.0.0.0/8
# ufw deny in from ::1
# iptables-save > /etc/iptables/rules.v4
# ip6tables-save > /etc/iptables/rules.v6
Parameter:
[Yes/No]
Technical Mechanism:
Run the following command:
# ufw allow in on lo
# ufw deny in from 127.0.0.0/8
# ufw deny in from ::1
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.4 | Attack Vector: LOCAL |
Exploit Score: 2.5 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/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:92237 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87424 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85285 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73996 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73994 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73992 |