Auth bypass in OpenBSD OpenSSH
CVE-2021-36368
An issue was discovered in OpenSSH before 8.9. If a client is using public-key authentication with agent forwarding but without -oLogLevel=verbose, and an attacker has silently modified the server to support the None authentication option, then the user cannot determine whether FIDO authentication is going to confirm that the user wishes to connect to that server, or that the user wishes to allow that server to connect to a different server on the user's behalf. NOTE: the vendor's position is "this is not an authentication bypass, since nothing is being bypassed.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.017, 77.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- OpenBSD OpenSSH
- Debian Linux — versions 9.0, 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 22 other repositories (accalina/crowflag, alvarigno22/ChocolateFire-DockerLab, alvarigno/ChocolateFire-DockerLab, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openssh.com/security.html (Vendor Advisory)
- github.com/openssh/openssh-portable/pull/258 (Patch, Third Party Advisory)
- bugzilla.mindrot.org/show_bug.cgi (Third Party Advisory, Issue Tracking)
- docs.ssh-mitm.at/trivialauth.html (Third Party Advisory)
- security-tracker.debian.org/tracker/CVE-2021-36368 (Third Party Advisory)