CVE-2023-42442
Published: 15 September 2023
Summary
CVE-2023-42442 is a high-severity Improper Authentication (CWE-287) vulnerability in Fit2Cloud Jumpserver. Its CVSS base score is 8.2 (High).
Operationally, ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
JumpServer, an open source bastion host and operations and maintenance audit platform, contains an authentication bypass in versions 3.0.0 through 3.5.4 and 3.6.3. The flaw resides in the session replay download path and stems from a misconfigured permission check on the /api/v1/terminal/sessions/ endpoint, where the RBACPermission and IsSessionAssignee classes are combined with a logical OR, allowing any matching permission to grant access. Session recordings stored in S3, OSS, or similar cloud object storage are unaffected.
An unauthenticated attacker with network access to the JumpServer instance can issue requests to the vulnerable API and retrieve session replays. Successful exploitation yields unauthorized disclosure of recorded administrative sessions and can also permit modification or disruption of replay data, consistent with the CVSS 8.2 rating that reflects network-exploitable integrity and availability impact without credentials or user interaction.
The project’s security advisory and subsequent commits (merged in 3.5.5 and 3.6.4) correct the permission classes so that the same endpoint now returns HTTP 401 for anonymous callers. Administrators are advised to upgrade promptly and verify the change by confirming that requests to /api/v1/terminal/sessions/?limit=1 are rejected when no authentication token is supplied. The EPSS score has remained at its observed peak of 0.8817 since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-46892
Vulnerability details
JumpServer is an open source bastion host and a professional operation and maintenance security audit system. Starting in version 3.0.0 and prior to versions 3.5.5 and 3.6.4, session replays can download without authentication. Session replays stored in S3, OSS, or…
more
other cloud storage are not affected. The api `/api/v1/terminal/sessions/` permission control is broken and can be accessed anonymously. SessionViewSet permission classes set to `[RBACPermission | IsSessionAssignee]`, relation is or, so any permission matched will be allowed. Versions 3.5.5 and 3.6.4 have a fix. After upgrading, visit the api `$HOST/api/v1/terminal/sessions/?limit=1`. The expected http response code is 401 (`not_authenticated`).
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Detects unauthorized successful logons resulting from improper authentication implementations.
Documented procedures ensure personnel are trained on authentication mechanisms, tangibly lowering the risk of improper authentication being exploited.
Security awareness training instructs users on secure authentication practices and avoiding credential compromise.
Training on authentication mechanisms and best practices decreases the occurrence of improper authentication.
Non-repudiation requires strong authentication mechanisms to irrefutably attribute performed actions to specific individuals or processes.
Session content review can reveal authentication bypasses or failures in session establishment.
Review of authentication-related audit records can detect improper authentication mechanisms or bypasses.
Assessments check authentication mechanisms for correct implementation and effectiveness, reducing successful authentication bypass attempts.