{"description": "By default, inbound connections to SSH's port are allowed. If the SSH\nserver is not being used, this exception should be removed from the\nfirewall configuration.\n<br /><br />\nEdit the files <tt>/etc/sysconfig/iptables</tt> and\n<tt>/etc/sysconfig/ip6tables</tt> (if IPv6 is in use). In each file, locate\nand delete the line:\n<pre>-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT</pre>\nThis is unusual, as SSH is a common method for encrypted and authenticated\nremote access.", "rationale": "If inbound SSH connections are not expected, disallowing access to the SSH\nport will avoid possible exploitation of the port by an attacker.", "severity": "unknown", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": null, "ocil": null, "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "system_with_kernel", "platforms": ["system_with_kernel"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["system_with_kernel"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Remove SSH Server iptables Firewall exception (Unusual)", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ssh/iptables_sshd_disabled/rule.yml", "template": null}