Skip to content

CVE-2023-43652 Non-MFA account takeover via using only SSH public key to login in jumpserver

CriticalCVSS 9.1 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

JumpServer is an open source bastion host. As an unauthenticated user, it is possible to authenticate to the core API with a username and an SSH public key without needing a password or the corresponding SSH private key. An SSH public key should be considered public knowledge and should not used as an authentication secret alone. JumpServer provides an API for the KoKo component to validate user private key logins. This API does not verify the source of requests and will generate a personal authentication token. Given that public keys can be easily leaked, an attacker can exploit the leaked public key and username to authenticate, subsequently gaining access to the current user's information and authorized actions. This issue has been addressed in versions 2.28.20 and 3.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
fit2cloud jumpserver >= 2.0.0, < 2.28.20; >= 3.0.0, < 3.7.1 2.28.20, 3.7.1 Fixed
jumpserver = >= 2.0.0, < 2.28.20; = >= 3.0.0, < 3.7.1; >= 2.0.0, < 2.28.20; >= 3.0.0, < 3.7.1 2.28.20, 3.7.1 Fixed

Affected products

ProductAffected versionsFixed in
jumpserver = >= 2.0.0, < 2.28.20 No fix listed
jumpserver = >= 3.0.0, < 3.7.1 No fix listed
jumpserver >= 2.0.0, < 2.28.20 2.28.20
jumpserver >= 3.0.0, < 3.7.1 3.7.1
fit2cloud jumpserver >= 2.0.0, < 2.28.20 2.28.20
fit2cloud jumpserver >= 3.0.0, < 3.7.1 3.7.1

References