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

Ubuntu 24.04 2.1.1 Ensure autofs services are not in use #12702

Merged
merged 1 commit into from
Dec 11, 2024
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
1 change: 1 addition & 0 deletions components/autofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ packages:
- autofs
rules:
- service_autofs_disabled
- package_autofs_removed
8 changes: 4 additions & 4 deletions controls/cis_ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,11 +662,11 @@ controls:
levels:
- l1_server
- l2_workstation
related_rules:
rules:
- service_autofs_disabled
status: planned
notes: TODO. Partial/incorrect implementation exists.See related rules. Analogous to ubuntu2204/1.1.9.

- package_autofs_removed
status: automated
- id: 2.1.2
title: Ensure avahi daemon services are not in use (Automated)
levels:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
documentation_complete: true

title: 'Remove autofs Package'

description: |-
autofs allows automatic mounting of devices, typically including CD/DVDs and USB
drives.
{{{ describe_package_remove(package="autofs") }}}

rationale: |-
With automounting enabled anyone with physical access could attach a USB drive or
disc and have its contents available in the filesystem even if they lacked permissions to
mount it themselves.

severity: low

ocil: '{{{ describe_package_remove(package="autofs") }}}'

template:
name: package_removed
vars:
pkgname: autofs
Loading