Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new SLE 12/15's rule package_rcpbind_removed #9931

Merged
merged 1 commit into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions controls/cis_sle12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,10 @@ controls:
levels:
- l1_server
- l1_workstation
automated: partially
notes: >-
Rule for package removal is missing!
status: automated
rules:
- service_rpcbind_disabled
- package_rcpbind_removed

- id: 2.2.9
title: Ensure DNS Server is not installed (Automated)
Expand Down
5 changes: 2 additions & 3 deletions controls/cis_sle15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -620,11 +620,10 @@ controls:
levels:
- l1_server
- l1_workstation
automated: partially
notes: >-
Rule for package removal is missing!
status: automated
rules:
- service_rpcbind_disabled
- package_rcpbind_removed

- id: 2.2.9
title: Ensure DNS Server is not installed (Automated)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
documentation_complete: true

prodtype: sle12,sle15

title: 'Uninstall rcpbind Package'

description: |-
The rpcbind utility maps RPC services to the ports on which they listen.
RPC processes notify rpcbind when they start, registering the ports they
are listening on and the RPC program numbers they expect to serve. The
rpcbind service redirects the client to the proper port number so it can
communicate with the requested service. If the system does not require RPC
(such as for NFS servers) then this service should be disabled.
{{{ describe_package_remove(package="rcpbind") }}}

rationale: |-
If the system does not require rpc based services, it is recommended that
rpcbind be disabled to reduce the attack surface.

severity: low

identifiers:
cce@sle12: CCE-92312-8
cce@sle15: CCE-92467-0

references:
cis@sle12: 2.2.8
cis@sle15: 2.2.8

{{{ complete_ocil_entry_package(package="rcpbind") }}}

fixtext: '{{{ fixtext_package_removed("rcpbind") }}}'

template:
name: package_removed
vars:
pkgname: rcpbind
1 change: 0 additions & 1 deletion shared/references/cce-sle12-avail.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CCE-92310-2
CCE-92312-8
CCE-92314-4
CCE-92319-3
CCE-92321-9
Expand Down
1 change: 0 additions & 1 deletion shared/references/cce-sle15-avail.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
CCE-92464-7
CCE-92465-4
CCE-92467-0
CCE-92477-9
CCE-92479-5
CCE-92481-1
Expand Down