SB2018101747 - Authentication bypass in libssh (Alpine package)
Published: October 17, 2018
Security Bulletin ID
SB2018101747
Severity
Low
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Authentication bypass (CVE-ID: CVE-2018-10933)
The vulnerability allows a remote attacker to bypass authentication on the target system.The weakness exists due to coding error, when libssh receives the "SSH2_MSG_USERAUTH_SUCCESS" message. A remote attacker can send the SSH server "SSH2_MSG_USERAUTH_SUCCESS" message instead of the "SSH2_MSG_USERAUTH_REQUEST" message that a server usually expects and which libssh uses as a sign that an authentication procedure needs to initiate, bypass authentication procedures and gain access to a server with an SSH connection enabled without having to enter the password.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=4e617546654863ca795146a23e2e4c5037c7fa9f
- https://git.alpinelinux.org/aports/commit/?id=3b5652246a72061f65136d4556b6eb8d87dad099
- https://git.alpinelinux.org/aports/commit/?id=1729dd4c046d1b1dc146c28bf0d57b3e6557a228
- https://git.alpinelinux.org/aports/commit/?id=5be0f2a6ade9a4196102468c29c4e05068caf178
- https://git.alpinelinux.org/aports/commit/?id=5c43888ac21b20f04716252828c30995461222a3
- https://git.alpinelinux.org/aports/commit/?id=7838ef4a7544c4d8c742eeaae9a6477f38a67313
- https://git.alpinelinux.org/aports/commit/?id=91c2fc713213cbbf8dd105a185465c4a3427fa54