漏洞描述
Using SSH Protocol 1 is insecure as it lacks strong encryption and integrity checks, making it vulnerable to man-in-the-middle attacks, session hijacking, and other exploits. It is recommended to use SSH Protocol 2 for enhanced security.
id: file-disable-sshp-protocol
info:
name: Disable SSH Protocol
author: pussycat0x
severity: unknown
description: |
Using SSH Protocol 1 is insecure as it lacks strong encryption and integrity checks, making it vulnerable to man-in-the-middle attacks, session hijacking, and other exploits. It is recommended to use SSH Protocol 2 for enhanced security.
remediation: |
Set Protocol 2 in /etc/ssh/sshd_config to disable SSH Protocol 1 and restart the SSH service.
reference:
- https://vishalraj82.medium.com/hardening-openssh-security-37f5d634015f
- https://www.ktchost.com/blog/enable-ssh-protocol-2/
metadata:
verified: true
tags: audit,config,file,ssh
file:
- extensions:
- all
matchers-condition: and
matchers:
- type: word
words:
- "# This is the sshd server system-wide configuration file"
- type: word
words:
- "Protocol 2"
negative: true
# digest: 4b0a00483046022100df321d349e00834fe6ee106774d32184d6aeec1c921f5c7bbbe76fe436bbf86202210098eb1f0ac12461bbda59911610b7fec2f6a87c5f808390253ae4aa05b52a8012:922c64590222798bb761d5b6d8e72950