[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95521-1

Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9Date: (C)2021-09-28   (M)2023-07-04



Description: In iptables the default policy is applied only after all the applicable rules in the table are examined for a match. Setting the default policy to DROP implements proper design for a firewall, i.e. any packets which are not explicitly permitted should not be accepted. Fix: To set the default policy to DROP (instead of ACCEPT) using iptables for the built-in OUTPUT chain which processes outgoing packets, check and run the following steps: #yum remove -y firewalld #yum install -y iptables iptables-services #systemctl enable iptables #iptables -P OUTPUT DROP #service iptables save Note: In the presence of firewalld package, iptables rules cannot be set as permanent. But removing firewalld package will lead to the removal of all rules currently configured in the machine. So patch is not provided for the rule.


Parameter:

[yes/no]


Technical Mechanism:

In 'iptables' the default policy is applied only after all the applicable rules in the table are examined for a match. Setting the default policy to 'DROP' implements proper design for a firewall, i.e. any packets which are not explicitly permitted should not be accepted.

CCSS Severity:CCSS Metrics:
CCSS Score : 10.0Attack Vector: NETWORK
Exploit Score: 3.9Attack Complexity: LOW
Impact Score: 6.0Privileges Required: NONE
Severity: CRITICALUser Interaction: NONE
Vector: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HScope: CHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74458
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84297
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74464
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74459
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74460
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74461
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74462
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:74463


OVAL    8
oval:org.secpod.oval:def:84297
oval:org.secpod.oval:def:74461
oval:org.secpod.oval:def:74459
oval:org.secpod.oval:def:74460
...
XCCDF    8
xccdf_org.secpod_benchmark_general_Amazon_Linux_AMI
xccdf_org.secpod_benchmark_general_CENTOS_7
xccdf_org.secpod_benchmark_general_RHEL_8
xccdf_org.secpod_benchmark_general_OEL_8
...

© SecPod Technologies