CVE-2023-43809 Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| charm soft serve | < 0.6.2 | 0.6.2 | Fixed |
| charmbracelet soft-serve | < 0.6.2; = < 0.6.2 | 0.6.2 | Fixed |
| charmbracelet soft-serve(Go) | < 0.6.2 | 0.6.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| charmbracelet soft-serve(Go) | < 0.6.2 | 0.6.2 |
| charmbracelet soft-serve | = < 0.6.2 | No fix listed |
| charmbracelet soft-serve | < 0.6.2 | 0.6.2 |
| charm soft serve | < 0.6.2 | 0.6.2 |
References
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-mc97-99j4-vm2v vendor-advisory
- https://github.com/charmbracelet/soft-serve/issues/389 exploit issue-tracking
- https://github.com/charmbracelet/soft-serve/commit/407c4ec72d1006cee1ff8c1775e5bcc091c2bc89 patch
- https://github.com/charmbracelet/soft-serve/releases/tag/v0.6.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product