{"description": "The <tt>AllowTcpForwarding</tt> parameter specifies whether TCP forwarding is permitted.\nTo disable TCP forwarding, add or correct the following line in\n\n\n<tt>/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</tt>:\n\n<pre>AllowTcpForwarding no</pre>", "rationale": "Leaving port forwarding enabled can expose the organization to security risks and back-doors.", "severity": "medium", "references": {"pcidss4": ["2.2.6", "2.2"]}, "control_references": {"pcidss4": ["2.2.6", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "The AllowTcpForwarding option exists and is disabled", "ocil": "To determine how the SSH daemon's <tt>AllowTcpForwarding</tt> option is set, run the following command:\n\n<pre>$ sudo grep -i AllowTcpForwarding /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</pre>\n\n\nIf a line indicating <tt>no</tt> is returned, then the required value is set.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable SSH TCP Forwarding", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ssh/ssh_server/sshd_disable_tcp_forwarding/rule.yml", "template": {"name": "sshd_lineinfile", "vars": {"parameter": "AllowTcpForwarding", "value": "no", "datatype": "string"}, "backends": {}}}