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.2.6 Ensure ftp client is not installed #12703

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
2 changes: 2 additions & 0 deletions components/ftp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: ftp
packages:
- ftp
- tnftp
rules:
- package_ftp_removed
- package_tnftp_removed
6 changes: 4 additions & 2 deletions controls/cis_ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,10 @@ controls:
levels:
- l1_server
- l1_workstation
status: planned
notes: TODO. Rule does not seem to be implemented, nor does it map to any rules in ubuntu2204 profile.
rules:
- package_ftp_removed
- package_tnftp_removed
status: automated

- id: 2.3.1.1
title: Ensure a single time synchronization daemon is in use (Automated)
Expand Down
25 changes: 25 additions & 0 deletions linux_os/guide/services/ftp/package_tnftp_removed/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
documentation_complete: true



title: 'Remove tnftp Package'

description: |-
tnftp an enhanced FTP client, is the user interface to the Internet standard File
Transfer Protocol. The program allows a user to transfer files to and from a remote
network site.
{{{ describe_package_remove(package="ftp") }}}
rationale: |-
Unless there is a need to run the system using Internet standard File Transfer Protocol
(for example, to allow anonymous downloads), it is recommended that the package be
removed to reduce the potential attack surface.
severity: low

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

template:
name: package_removed
vars:
pkgname: tnftp
Loading