CVE-2023-43809: Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled
Impact
A security vulnerability in Soft Serve could allow an unauthenticated, remote attacker to bypass public key authentication when keyboard-interactive SSH authentication is active, through the allow-keyless setting, and the public key requires additional client-side verification for example using FIDO2 or GPG. This is due to insufficient validation procedures of the public key step during SSH request handshake, granting unauthorized access if the keyboard-interaction mode is utilized. An attacker could exploit this vulnerability by presenting manipulated SSH requests using keyboard-interactive authentication mode. This could potentially result in unauthorized access to the Soft Serve.
Patches
Users should upgrade to the latest Soft Serve version v0.6.2 to receive the patch for this issue.
Workarounds
To workaround this vulnerability without upgrading, users can temporarily disable Keyboard-Interactive SSH Authentication using the allow-keyless setting.
References
https://github.com/charmbracelet/soft-serve/issues/389
Other sources
Soft Serve is a self-hostable Git server for the command line. Prior to version 0.6.2, a security vulnerability in Soft Serve could allow an unauthenticated, remote attacker to bypass public key authentication when keyboard-interactive SSH authentication is active, through the allow-keyless setting, and the public key requires additional client-side verification for example using FIDO2 or GPG. This is due to insufficient validation procedures of the public key step during SSH request handshake, granting unauthorized access if the keyboard-interaction mode is utilized. An attacker could exploit this vulnerability by presenting manipulated SSH requests using keyboard-interactive authentication mode. This could potentially result in unauthorized access to the Soft Serve. Users should upgrade to the latest Soft Serve version v0.6.2 to receive the patch for this issue. To workaround this vulnerability without upgrading, users can temporarily disable Keyboard-Interactive SSH Authentication using the allow-keyless setting.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-43809?
CVE-2023-43809 is a security vulnerability in Soft Serve, a self-hostable Git server for the command line, that allows an unauthenticated, remote attacker to bypass public key authentication.
How does CVE-2023-43809 impact Soft Serve?
CVE-2023-43809 allows an unauthenticated, remote attacker to bypass public key authentication when keyboard-interactive SSH authentication is active, through the `allow-keyless` setting, and the public key requires additional client-side verification.
Which version of Soft Serve is affected by CVE-2023-43809?
Soft Serve versions up to and excluding 0.6.2 are affected by CVE-2023-43809.
How can I fix CVE-2023-43809?
To fix CVE-2023-43809, upgrade to version 0.6.2 of Soft Serve.
What is the severity of CVE-2023-43809?
CVE-2023-43809 has a severity rating of 7.5 (high).