CVE-2023-42442
JumpServer session replays download without authentication
Record summary
CVE-2023-42442 has a selected CVSS score of 8.2 (high); EIP currently links 2 repository PoCs and 1 Nuclei template.
Description
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 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`).
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
jumpserverBrowse jumpserver / jumpserver | CVE List | >= 3.0.0, < 3.5.5 | affected |
| >= 3.6.0, < 3.6.4 | affected |
Proofs of concept
2Repository PoCs
GitHubHolyGu/CVE-2023-42442Repository PoCby HolyGuStars: 40Not analyzed2 files
GitHubtarihub/blackjumpRepository PoCby tarihubStars: 276Not analyzed9 files
Nuclei templates
1ProjectDiscoveryMEDIUMJumpServer > 3.6.4 - Information DisclosureCVSS 5.3
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 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`).
Impact
The vulnerability allows an attacker to gain sensitive information from the JumpServer application.
Remediation
Apply the latest security patches and updates from the vendor to address this vulnerability.
Source: ProjectDiscovery