usg-cisbenchmark: Broken rules 2.2.5 and 2.2.7

Bug #1879954 reported by Gábor Mészáros
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Security Certifications
Fix Released
Medium
Richard Maciel Costa

Bug Description

Hardening script for rule 2.2.7 is broken.

Failed to disable unit: Unit file nfs-server\x20rpcbind.service does not exist.

as the code tries to disable:
    systemctl disable "nfs-server rpcbind"
    systemctl stop "nfs-server rpcbind"

Same goes for the rule 2.2.5 Ensure DHCP Server is not enabled (Scored)

    systemctl disable "isc-dhcp-server isc-dhcp-server6"
    systemctl stop "isc-dhcp-server isc-dhcp-server6"

They should be without the "s.

Revision history for this message
Richard Maciel Costa (richardmaciel) wrote :

Thanks for the report. I'm triaging the issue.

Changed in ubuntu-security-certifications:
assignee: nobody → Richard Maciel Costa (richardmaciel)
Changed in ubuntu-security-certifications:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Richard Maciel Costa (richardmaciel) wrote :

Version 18.04.6 fixes this issue.

Changed in ubuntu-security-certifications:
status: Confirmed → Fix Released
Revision history for this message
Richard Maciel Costa (richardmaciel) wrote :

Version 16.04.6 fixes this issue for Xenial.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.