|
|
dac76a |
From af42925709b8cd1512fea9e4c532fb22ada45fe3 Mon Sep 17 00:00:00 2001
|
|
|
dac76a |
From: Watson Sato <wsato@redhat.com>
|
|
|
dac76a |
Date: Fri, 20 Mar 2020 14:33:53 +0100
|
|
|
dac76a |
Subject: [PATCH 1/4] Rules for /etc/hosts.allow permissions and owner
|
|
|
dac76a |
|
|
|
dac76a |
---
|
|
|
dac76a |
.../file_groupowner_etc_hosts_allow/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
.../file_owner_etc_hosts_allow/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
.../file_permissions_etc_hosts_allow/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
rhel7/profiles/cis.profile | 4 +++
|
|
|
dac76a |
shared/references/cce-redhat-avail.txt | 6 ----
|
|
|
dac76a |
5 files changed, 106 insertions(+), 6 deletions(-)
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..7d43f93c42
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify Group Who Owns /etc/hosts.allow'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_group_owner(file="/etc/hosts.allow", group="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.allow</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 83823-5
|
|
|
dac76a |
+ cce@rhel8: 83824-3
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.4
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/hosts.allow", group="root") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_group_owner(file="/etc/hosts.allow", group="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_groupowner
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.allow
|
|
|
dac76a |
+ filegid: '0'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..a301406b45
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify User Who Owns /etc/hosts.allow'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_owner(file="/etc/hosts.allow", owner="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.allow</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 83825-0
|
|
|
dac76a |
+ cce@rhel8: 83826-8
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.4
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_owner(file="/etc/hosts.allow", owner="root") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_owner(file="/etc/hosts.allow", owner="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_owner
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.allow
|
|
|
dac76a |
+ fileuid: '0'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..0a35cbf57e
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify Permissions on /etc/hosts.allow'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_permissions(file="/etc/hosts.allow", perms="0644") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.allow</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 83827-6
|
|
|
dac76a |
+ cce@rhel8: 83828-4
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.4
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/hosts.allow", perms="-rw-r--r--") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_permissions(file="/etc/hosts.allow", perms="-rw-r--r--") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_permissions
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.allow
|
|
|
dac76a |
+ filemode: '0644'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/rhel7/profiles/cis.profile b/rhel7/profiles/cis.profile
|
|
|
dac76a |
index 486fcf9a33..e50d8ddb43 100644
|
|
|
dac76a |
--- a/rhel7/profiles/cis.profile
|
|
|
dac76a |
+++ b/rhel7/profiles/cis.profile
|
|
|
dac76a |
@@ -353,6 +353,10 @@ selections:
|
|
|
dac76a |
- configure_etc_hosts_deny
|
|
|
dac76a |
|
|
|
dac76a |
### 3.4.4 Ensure permissions on /etc/hosts.allow are configured (Scored)
|
|
|
dac76a |
+ - file_owner_etc_hosts_allow
|
|
|
dac76a |
+ - file_groupowner_etc_hosts_allow
|
|
|
dac76a |
+ - file_permissions_etc_hosts_allow
|
|
|
dac76a |
+
|
|
|
dac76a |
### 3.4.5 Ensure permissions on /etc/hosts.deny are configured (Scored)
|
|
|
dac76a |
|
|
|
dac76a |
## 3.5 Uncommon Network Protocols
|
|
|
dac76a |
diff --git a/shared/references/cce-redhat-avail.txt b/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
index a0b117a964..e67f56f9aa 100644
|
|
|
dac76a |
--- a/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
+++ b/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
@@ -528,12 +528,6 @@ CCE-83819-3
|
|
|
dac76a |
CCE-83820-1
|
|
|
dac76a |
CCE-83821-9
|
|
|
dac76a |
CCE-83822-7
|
|
|
dac76a |
-CCE-83823-5
|
|
|
dac76a |
-CCE-83824-3
|
|
|
dac76a |
-CCE-83825-0
|
|
|
dac76a |
-CCE-83826-8
|
|
|
dac76a |
-CCE-83827-6
|
|
|
dac76a |
-CCE-83828-4
|
|
|
dac76a |
CCE-83829-2
|
|
|
dac76a |
CCE-83830-0
|
|
|
dac76a |
CCE-83831-8
|
|
|
dac76a |
|
|
|
dac76a |
From 0f43573a6c193e70e1ff02f92a0c2bf9957d2e1c Mon Sep 17 00:00:00 2001
|
|
|
dac76a |
From: Watson Sato <wsato@redhat.com>
|
|
|
dac76a |
Date: Fri, 20 Mar 2020 15:01:58 +0100
|
|
|
dac76a |
Subject: [PATCH 2/4] Rules for /etc/hosts.deny permissions and owner
|
|
|
dac76a |
|
|
|
dac76a |
---
|
|
|
dac76a |
.../file_groupowner_etc_hosts_deny/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
.../file_owner_etc_hosts_deny/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
.../file_permissions_etc_hosts_deny/rule.yml | 34 +++++++++++++++++++
|
|
|
dac76a |
rhel7/profiles/cis.profile | 3 ++
|
|
|
dac76a |
shared/references/cce-redhat-avail.txt | 6 ----
|
|
|
dac76a |
5 files changed, 105 insertions(+), 6 deletions(-)
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
create mode 100644 linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..db3105eb71
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify Group Who Owns /etc/hosts.deny'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_group_owner(file="/etc/hosts.deny", group="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.deny</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 84030-6
|
|
|
dac76a |
+ cce@rhel8: 84031-4
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.4
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/hosts.deny", group="root") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_group_owner(file="/etc/hosts.deny", group="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_groupowner
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.deny
|
|
|
dac76a |
+ filegid: '0'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..75380c7311
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify User Who Owns /etc/hosts.deny'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_owner(file="/etc/hosts.deny", owner="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.deny</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 84032-2
|
|
|
dac76a |
+ cce@rhel8: 84033-0
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.5
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_owner(file="/etc/hosts.deny", owner="root") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_owner(file="/etc/hosts.deny", owner="root") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_owner
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.deny
|
|
|
dac76a |
+ fileuid: '0'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
new file mode 100644
|
|
|
dac76a |
index 0000000000..ea73fe48cd
|
|
|
dac76a |
--- /dev/null
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -0,0 +1,34 @@
|
|
|
dac76a |
+documentation_complete: true
|
|
|
dac76a |
+
|
|
|
dac76a |
+prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
+
|
|
|
dac76a |
+title: 'Verify Permissions on /etc/hosts.deny'
|
|
|
dac76a |
+
|
|
|
dac76a |
+description: |-
|
|
|
dac76a |
+ {{{ describe_file_permissions(file="/etc/hosts.deny", perms="0644") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+rationale: |-
|
|
|
dac76a |
+ The <tt>/etc/hosts.deny</tt> file is used to control access of clients to daemons in the
|
|
|
dac76a |
+ server. Insecure groupownership of this file could allow users to grant clients unrestricted
|
|
|
dac76a |
+ access or no access at all to services in the server.
|
|
|
dac76a |
+
|
|
|
dac76a |
+severity: medium
|
|
|
dac76a |
+
|
|
|
dac76a |
+identifiers:
|
|
|
dac76a |
+ cce@rhel7: 84034-8
|
|
|
dac76a |
+ cce@rhel8: 84035-5
|
|
|
dac76a |
+
|
|
|
dac76a |
+references:
|
|
|
dac76a |
+ cis@rhel7: 3.4.5
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/hosts.deny", perms="-rw-r--r--") }}}'
|
|
|
dac76a |
+
|
|
|
dac76a |
+ocil: |-
|
|
|
dac76a |
+ {{{ ocil_file_permissions(file="/etc/hosts.deny", perms="-rw-r--r--") }}}
|
|
|
dac76a |
+
|
|
|
dac76a |
+template:
|
|
|
dac76a |
+ name: file_permissions
|
|
|
dac76a |
+ vars:
|
|
|
dac76a |
+ filepath: /etc/hosts.deny
|
|
|
dac76a |
+ filemode: '0644'
|
|
|
dac76a |
+ missing_file_pass: 'true'
|
|
|
dac76a |
diff --git a/rhel7/profiles/cis.profile b/rhel7/profiles/cis.profile
|
|
|
dac76a |
index e50d8ddb43..5ac119768f 100644
|
|
|
dac76a |
--- a/rhel7/profiles/cis.profile
|
|
|
dac76a |
+++ b/rhel7/profiles/cis.profile
|
|
|
dac76a |
@@ -358,6 +358,9 @@ selections:
|
|
|
dac76a |
- file_permissions_etc_hosts_allow
|
|
|
dac76a |
|
|
|
dac76a |
### 3.4.5 Ensure permissions on /etc/hosts.deny are configured (Scored)
|
|
|
dac76a |
+ - file_owner_etc_hosts_deny
|
|
|
dac76a |
+ - file_groupowner_etc_hosts_deny
|
|
|
dac76a |
+ - file_permissions_etc_hosts_deny
|
|
|
dac76a |
|
|
|
dac76a |
## 3.5 Uncommon Network Protocols
|
|
|
dac76a |
### 3.5.1 Ensure DCCP is disabled (Not Scored)
|
|
|
dac76a |
diff --git a/shared/references/cce-redhat-avail.txt b/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
index e67f56f9aa..bb234a3131 100644
|
|
|
dac76a |
--- a/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
+++ b/shared/references/cce-redhat-avail.txt
|
|
|
dac76a |
@@ -729,12 +729,6 @@ CCE-84026-4
|
|
|
dac76a |
CCE-84027-2
|
|
|
dac76a |
CCE-84028-0
|
|
|
dac76a |
CCE-84029-8
|
|
|
dac76a |
-CCE-84030-6
|
|
|
dac76a |
-CCE-84031-4
|
|
|
dac76a |
-CCE-84032-2
|
|
|
dac76a |
-CCE-84033-0
|
|
|
dac76a |
-CCE-84034-8
|
|
|
dac76a |
-CCE-84035-5
|
|
|
dac76a |
CCE-84036-3
|
|
|
dac76a |
CCE-84037-1
|
|
|
dac76a |
CCE-84038-9
|
|
|
dac76a |
|
|
|
dac76a |
From d53500477288c69027127257802bb42355ca7848 Mon Sep 17 00:00:00 2001
|
|
|
dac76a |
From: Watson Sato <wsato@redhat.com>
|
|
|
dac76a |
Date: Fri, 20 Mar 2020 16:08:57 +0100
|
|
|
dac76a |
Subject: [PATCH 3/4] Fix cce assignmetns and references
|
|
|
dac76a |
|
|
|
dac76a |
Rules for /etc/hosts.allow and /etc/hosts.deny apply to rhel6 and rhel7
|
|
|
dac76a |
---
|
|
|
dac76a |
.../file_groupowner_etc_hosts_allow/rule.yml | 4 ++--
|
|
|
dac76a |
.../file_groupowner_etc_hosts_deny/rule.yml | 6 +++---
|
|
|
dac76a |
.../inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml | 4 ++--
|
|
|
dac76a |
.../inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml | 4 ++--
|
|
|
dac76a |
.../file_permissions_etc_hosts_allow/rule.yml | 4 ++--
|
|
|
dac76a |
.../file_permissions_etc_hosts_deny/rule.yml | 4 ++--
|
|
|
dac76a |
6 files changed, 13 insertions(+), 13 deletions(-)
|
|
|
dac76a |
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
index 7d43f93c42..aa531e6ace 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -15,8 +15,8 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 83823-5
|
|
|
dac76a |
- cce@rhel8: 83824-3
|
|
|
dac76a |
+ cce@rhel6: 83823-5
|
|
|
dac76a |
+ cce@rhel7: 83824-3
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
cis@rhel7: 3.4.4
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
index db3105eb71..fa024f1c27 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -15,11 +15,11 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 84030-6
|
|
|
dac76a |
- cce@rhel8: 84031-4
|
|
|
dac76a |
+ cce@rhel6: 84030-6
|
|
|
dac76a |
+ cce@rhel7: 84031-4
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
- cis@rhel7: 3.4.4
|
|
|
dac76a |
+ cis@rhel7: 3.4.5
|
|
|
dac76a |
|
|
|
dac76a |
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/hosts.deny", group="root") }}}'
|
|
|
dac76a |
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
index a301406b45..80d5630c48 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -15,8 +15,8 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 83825-0
|
|
|
dac76a |
- cce@rhel8: 83826-8
|
|
|
dac76a |
+ cce@rhel6: 83825-0
|
|
|
dac76a |
+ cce@rhel7: 83826-0
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
cis@rhel7: 3.4.4
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
index 75380c7311..2fc5f74355 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -15,8 +15,8 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 84032-2
|
|
|
dac76a |
- cce@rhel8: 84033-0
|
|
|
dac76a |
+ cce@rhel6: 84032-2
|
|
|
dac76a |
+ cce@rhel7: 84033-0
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
cis@rhel7: 3.4.5
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
index 0a35cbf57e..dc1560852a 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -15,8 +15,8 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 83827-6
|
|
|
dac76a |
- cce@rhel8: 83828-4
|
|
|
dac76a |
+ cce@rhel6: 83827-6
|
|
|
dac76a |
+ cce@rhel7: 83828-4
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
cis@rhel7: 3.4.4
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
index ea73fe48cd..da806139ec 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_permissions_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -15,8 +15,8 @@ rationale: |-
|
|
|
dac76a |
severity: medium
|
|
|
dac76a |
|
|
|
dac76a |
identifiers:
|
|
|
dac76a |
- cce@rhel7: 84034-8
|
|
|
dac76a |
- cce@rhel8: 84035-5
|
|
|
dac76a |
+ cce@rhel6: 84034-8
|
|
|
dac76a |
+ cce@rhel7: 84035-5
|
|
|
dac76a |
|
|
|
dac76a |
references:
|
|
|
dac76a |
cis@rhel7: 3.4.5
|
|
|
dac76a |
|
|
|
dac76a |
From b7dc44d2feb734ed89736d1dea813b051e83cfb7 Mon Sep 17 00:00:00 2001
|
|
|
dac76a |
From: Watson Sato <wsato@redhat.com>
|
|
|
dac76a |
Date: Mon, 23 Mar 2020 14:18:24 +0100
|
|
|
dac76a |
Subject: [PATCH 4/4] Rewrite title of ownership rules
|
|
|
dac76a |
|
|
|
dac76a |
Rewrite title of rules for ownerhip and group ownership of of
|
|
|
dac76a |
/etc/hosts.allow and /etc/hosts.deny
|
|
|
dac76a |
---
|
|
|
dac76a |
.../inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml | 2 +-
|
|
|
dac76a |
.../inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml | 2 +-
|
|
|
dac76a |
.../inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml | 2 +-
|
|
|
dac76a |
.../inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml | 2 +-
|
|
|
dac76a |
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
dac76a |
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
index aa531e6ace..cee37ed9c6 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -2,7 +2,7 @@ documentation_complete: true
|
|
|
dac76a |
|
|
|
dac76a |
prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
|
|
|
dac76a |
-title: 'Verify Group Who Owns /etc/hosts.allow'
|
|
|
dac76a |
+title: 'Verify Group Ownership of /etc/hosts.allow'
|
|
|
dac76a |
|
|
|
dac76a |
description: |-
|
|
|
dac76a |
{{{ describe_file_group_owner(file="/etc/hosts.allow", group="root") }}}
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
index fa024f1c27..403e99908b 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_groupowner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -2,7 +2,7 @@ documentation_complete: true
|
|
|
dac76a |
|
|
|
dac76a |
prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
|
|
|
dac76a |
-title: 'Verify Group Who Owns /etc/hosts.deny'
|
|
|
dac76a |
+title: 'Verify Group Ownership of /etc/hosts.deny'
|
|
|
dac76a |
|
|
|
dac76a |
description: |-
|
|
|
dac76a |
{{{ describe_file_group_owner(file="/etc/hosts.deny", group="root") }}}
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
index 80d5630c48..b34be48968 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_allow/rule.yml
|
|
|
dac76a |
@@ -2,7 +2,7 @@ documentation_complete: true
|
|
|
dac76a |
|
|
|
dac76a |
prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
|
|
|
dac76a |
-title: 'Verify User Who Owns /etc/hosts.allow'
|
|
|
dac76a |
+title: 'Verify Ownership of /etc/hosts.allow'
|
|
|
dac76a |
|
|
|
dac76a |
description: |-
|
|
|
dac76a |
{{{ describe_file_owner(file="/etc/hosts.allow", owner="root") }}}
|
|
|
dac76a |
diff --git a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
index 2fc5f74355..e53ee5bc12 100644
|
|
|
dac76a |
--- a/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
+++ b/linux_os/guide/services/obsolete/inetd_and_xinetd/file_owner_etc_hosts_deny/rule.yml
|
|
|
dac76a |
@@ -2,7 +2,7 @@ documentation_complete: true
|
|
|
dac76a |
|
|
|
dac76a |
prodtype: ol7,rhel6,rhel7
|
|
|
dac76a |
|
|
|
dac76a |
-title: 'Verify User Who Owns /etc/hosts.deny'
|
|
|
dac76a |
+title: 'Verify Ownership of /etc/hosts.deny'
|
|
|
dac76a |
|
|
|
dac76a |
description: |-
|
|
|
dac76a |
{{{ describe_file_owner(file="/etc/hosts.deny", owner="root") }}}
|