RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1494606 - Rules requiring sysctl.conf values have misleading descriptions - sysctl values defaults are ignored, description says otherwise.
Summary: Rules requiring sysctl.conf values have misleading descriptions - sysctl valu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Matěj Týč
QA Contact: Gabriel Gaspar Becker
Jan Fiala
URL:
Whiteboard:
: 1502831 (view as bug list)
Depends On:
Blocks: 1477664
TreeView+ depends on / blocked
 
Reported: 2017-09-22 15:28 UTC by Ryan Blakley
Modified: 2023-12-15 15:58 UTC (History)
9 users (show)

Fixed In Version: scap-security-guide-0.1.49-2.el7
Doc Type: Bug Fix
Doc Text:
.Updated rule descriptions in the SCAP Security Guide Because default kernel parameters cannot be reliably determined for all supported versions of RHEL, checking kernel parameter settings always requires explicit configuration. The text in the configuration guide mistakenly stated that explicit settings were not needed if the default version was compliant. With this update, the rule description in the `scap-security-guide` package correctly describes the compliance evaluation and the corresponding remediation.
Clone Of:
Environment:
Last Closed: 2020-09-29 19:52:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3909 0 None None None 2020-09-29 19:52:34 UTC

Description Ryan Blakley 2017-09-22 15:28:36 UTC
Description of problem: When scanning a server with the C2S for Red Hat Enterprise Linux 7 (168) profile.


Version-Release number of selected component (if applicable): scap-workbench-1.1.4-5.el7.x86_64


Steps to Reproduce:
1. Run $ sysctl -a|grep "ip_forward " and it will return 0
2. Perform the scan in scap-workbench
3. It will show failed for the test "Disable Kernel Parameter for IP Forwarding", if you repeat the above but add in "net.ipv4.ip_forward = 0" to /etc/sysctl.conf and rescan it will pass.

Actual results: Fail


Expected results: Pass since it's set correctly as the default.


Additional info:
For the case I'm working it's only for the "Disable Kernel Parameter for IP Forwarding" test, but the customer has a few other cases for other sysctl tests that exhibit the same failures but shouldn't.

Comment 2 Michael DePaulo 2017-11-16 22:32:33 UTC
I'm affected by this too. At 1st glance, it seems correlated with having libvirtd installed.

(RHEL Workstation installs gnome-boxes by default, so it has libvirtd installed & running by default.)

Disabling the libvirtd service, rebooting, and verifying that the virbr0 interface is gone (and that dnsmasq is not running at all) did not help though.

Comment 3 Martin Preisler 2018-01-03 21:59:37 UTC
This is a content issue, changing component.

Comment 4 Watson Yuuma Sato 2018-03-26 18:25:27 UTC
*** Bug 1502831 has been marked as a duplicate of this bug. ***

Comment 5 Marek Haicman 2018-03-26 21:08:37 UTC
Hello,
to be completely honest, I do not see harm in requiring explicit setting, even though default should be safe. There are some considerations that outweighs few more lines required in /etc/sysctl.conf file.

From SSG standpoint, it is safer to share rules between multiple products, so user base of particular code snipped/configuration is larger. Different products has possibly kernels compiled with different flags, thus defaults might differ. So to take defaults to consideration, RHEL would need to have it's own, unshared, version of content.

Also auditing the content would be slower, as one would have to cross check with documentation if given assumption of default value is valid or not.

Based on this, I am changing summary of this bug (and scope itself) to changing the misleading descriptions.

Comment 22 errata-xmlrpc 2020-09-29 19:52:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (scap-security-guide bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3909


Note You need to log in before you can comment on or make changes to this bug.