mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-29 22:06:56 +01:00
460 lines
13 KiB
JSON
460 lines
13 KiB
JSON
{
|
|
"banner": {
|
|
"comments": null,
|
|
"protocol": "2.0",
|
|
"raw": "SSH-2.0-OpenSSH_8.0",
|
|
"software": "OpenSSH_8.0"
|
|
},
|
|
"compression": [
|
|
"none",
|
|
"zlib@openssh.com"
|
|
],
|
|
"cves": [
|
|
{
|
|
"cvssv2": 7.0,
|
|
"description": "privilege escalation via supplemental groups",
|
|
"name": "CVE-2021-41617"
|
|
},
|
|
{
|
|
"cvssv2": 7.8,
|
|
"description": "command injection via anomalous argument transfers",
|
|
"name": "CVE-2020-15778"
|
|
},
|
|
{
|
|
"cvssv2": 7.8,
|
|
"description": "memory corruption and local code execution via pre-authentication integer overflow",
|
|
"name": "CVE-2019-16905"
|
|
},
|
|
{
|
|
"cvssv2": 5.3,
|
|
"description": "enumerate usernames via challenge response",
|
|
"name": "CVE-2016-20012"
|
|
}
|
|
],
|
|
"enc": [
|
|
{
|
|
"algorithm": "chacha20-poly1305@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"default cipher since OpenSSH 6.9",
|
|
"available since OpenSSH 6.5"
|
|
],
|
|
"warn": [
|
|
"vulnerable to the Terrapin attack (CVE-2023-48795), allowing message prefix truncation"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "aes128-ctr",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 3.7, Dropbear SSH 0.52"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "aes192-ctr",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 3.7"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "aes256-ctr",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 3.7, Dropbear SSH 0.52"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "aes128-gcm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "aes256-gcm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"fingerprints": [
|
|
{
|
|
"hash": "UrnXIVH+7dlw8UqYocl48yUEcKrthGDQG2CPCgp7MxU",
|
|
"hash_alg": "SHA256",
|
|
"hostkey": "ssh-ed25519"
|
|
},
|
|
{
|
|
"hash": "1e:0c:7b:34:73:bf:52:41:b0:f9:d1:a9:ab:98:c7:c9",
|
|
"hash_alg": "MD5",
|
|
"hostkey": "ssh-ed25519"
|
|
},
|
|
{
|
|
"hash": "nsWtdJ9Z67Vrf7OsUzQov7esXhsWAfVppArGh25u244",
|
|
"hash_alg": "SHA256",
|
|
"hostkey": "ssh-rsa"
|
|
},
|
|
{
|
|
"hash": "18:e2:51:fe:21:6c:78:d0:b8:cf:32:d4:bd:56:42:e1",
|
|
"hash_alg": "MD5",
|
|
"hostkey": "ssh-rsa"
|
|
}
|
|
],
|
|
"kex": [
|
|
{
|
|
"algorithm": "curve25519-sha256",
|
|
"notes": {
|
|
"info": [
|
|
"default key exchange since OpenSSH 6.4",
|
|
"available since OpenSSH 7.4, Dropbear SSH 2018.76"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "curve25519-sha256@libssh.org",
|
|
"notes": {
|
|
"info": [
|
|
"default key exchange since OpenSSH 6.4",
|
|
"available since OpenSSH 6.4, Dropbear SSH 2013.62"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ecdh-sha2-nistp256",
|
|
"notes": {
|
|
"fail": [
|
|
"using elliptic curves that are suspected as being backdoored by the U.S. National Security Agency"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 5.7, Dropbear SSH 2013.62"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ecdh-sha2-nistp384",
|
|
"notes": {
|
|
"fail": [
|
|
"using elliptic curves that are suspected as being backdoored by the U.S. National Security Agency"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 5.7, Dropbear SSH 2013.62"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ecdh-sha2-nistp521",
|
|
"notes": {
|
|
"fail": [
|
|
"using elliptic curves that are suspected as being backdoored by the U.S. National Security Agency"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 5.7, Dropbear SSH 2013.62"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "diffie-hellman-group-exchange-sha256",
|
|
"keysize": 4096,
|
|
"notes": {
|
|
"info": [
|
|
"OpenSSH's GEX fallback mechanism was triggered during testing. Very old SSH clients will still be able to create connections using a 2048-bit modulus, though modern clients will use 4096. This can only be disabled by recompiling the code (see https://github.com/openssh/openssh-portable/blob/V_9_4/dh.c#L477).",
|
|
"available since OpenSSH 4.4"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "diffie-hellman-group16-sha512",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 7.3, Dropbear SSH 2016.73"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "diffie-hellman-group18-sha512",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 7.3"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "diffie-hellman-group14-sha256",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 7.3, Dropbear SSH 2016.73"
|
|
],
|
|
"warn": [
|
|
"2048-bit modulus only provides 112-bits of symmetric strength"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "diffie-hellman-group14-sha1",
|
|
"notes": {
|
|
"fail": [
|
|
"using broken SHA-1 hash algorithm"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 3.9, Dropbear SSH 0.53"
|
|
],
|
|
"warn": [
|
|
"2048-bit modulus only provides 112-bits of symmetric strength"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"key": [
|
|
{
|
|
"algorithm": "rsa-sha2-512",
|
|
"keysize": 3072,
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 7.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "rsa-sha2-256",
|
|
"keysize": 3072,
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 7.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ssh-rsa",
|
|
"keysize": 3072,
|
|
"notes": {
|
|
"fail": [
|
|
"using broken SHA-1 hash algorithm"
|
|
],
|
|
"info": [
|
|
"deprecated in OpenSSH 8.8: https://www.openssh.com/txt/release-8.8",
|
|
"available since OpenSSH 2.5.0, Dropbear SSH 0.28"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ecdsa-sha2-nistp256",
|
|
"notes": {
|
|
"fail": [
|
|
"using elliptic curves that are suspected as being backdoored by the U.S. National Security Agency"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 5.7, Dropbear SSH 2013.62"
|
|
],
|
|
"warn": [
|
|
"using weak random number generator could reveal the key"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "ssh-ed25519",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.5"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"mac": [
|
|
{
|
|
"algorithm": "umac-64-etm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
],
|
|
"warn": [
|
|
"using small 64-bit tag size"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "umac-128-etm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha2-256-etm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha2-512-etm@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha1-etm@openssh.com",
|
|
"notes": {
|
|
"fail": [
|
|
"using broken SHA-1 hash algorithm"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "umac-64@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 4.7"
|
|
],
|
|
"warn": [
|
|
"using encrypt-and-MAC mode",
|
|
"using small 64-bit tag size"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "umac-128@openssh.com",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 6.2"
|
|
],
|
|
"warn": [
|
|
"using encrypt-and-MAC mode"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha2-256",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 5.9, Dropbear SSH 2013.56"
|
|
],
|
|
"warn": [
|
|
"using encrypt-and-MAC mode"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha2-512",
|
|
"notes": {
|
|
"info": [
|
|
"available since OpenSSH 5.9, Dropbear SSH 2013.56"
|
|
],
|
|
"warn": [
|
|
"using encrypt-and-MAC mode"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"algorithm": "hmac-sha1",
|
|
"notes": {
|
|
"fail": [
|
|
"using broken SHA-1 hash algorithm"
|
|
],
|
|
"info": [
|
|
"available since OpenSSH 2.1.0, Dropbear SSH 0.28"
|
|
],
|
|
"warn": [
|
|
"using encrypt-and-MAC mode"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"recommendations": {
|
|
"critical": {
|
|
"del": {
|
|
"kex": [
|
|
{
|
|
"name": "diffie-hellman-group14-sha1",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "ecdh-sha2-nistp256",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "ecdh-sha2-nistp384",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "ecdh-sha2-nistp521",
|
|
"notes": ""
|
|
}
|
|
],
|
|
"key": [
|
|
{
|
|
"name": "ecdsa-sha2-nistp256",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "ssh-rsa",
|
|
"notes": ""
|
|
}
|
|
],
|
|
"mac": [
|
|
{
|
|
"name": "hmac-sha1",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "hmac-sha1-etm@openssh.com",
|
|
"notes": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"warning": {
|
|
"del": {
|
|
"enc": [
|
|
{
|
|
"name": "chacha20-poly1305@openssh.com",
|
|
"notes": ""
|
|
}
|
|
],
|
|
"kex": [
|
|
{
|
|
"name": "diffie-hellman-group14-sha256",
|
|
"notes": ""
|
|
}
|
|
],
|
|
"mac": [
|
|
{
|
|
"name": "hmac-sha2-256",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "hmac-sha2-512",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "umac-128@openssh.com",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "umac-64-etm@openssh.com",
|
|
"notes": ""
|
|
},
|
|
{
|
|
"name": "umac-64@openssh.com",
|
|
"notes": ""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"target": "localhost:2222"
|
|
}
|