Skip to content

Commit

Permalink
Merge pull request #12703 from ericeberry/u2404_226
Browse files Browse the repository at this point in the history
Ubuntu 24.04 2.2.6 Ensure ftp client is not installed
  • Loading branch information
dodys authored Dec 11, 2024
2 parents c1cb8ef + 1095455 commit e8d46c2
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 @@ -928,8 +928,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 e8d46c2

Please sign in to comment.