Skip to content

Commit

Permalink
Ubuntu 24.04 2.2.6 Ensure ftp client is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ericeberry committed Dec 11, 2024
1 parent f1d163c commit 1095455
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
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

0 comments on commit 1095455

Please sign in to comment.