nuclei-templates/http/cves/2023/CVE-2023-42442.yaml

52 lines
2.1 KiB
YAML
Raw Normal View History

2023-09-20 10:44:04 +00:00
id: CVE-2023-42442
info:
name: JumpServer > 3.6.4 - Information Disclosure
author: xianke
2023-10-14 11:27:55 +00:00
severity: medium
2023-09-20 10:44:04 +00:00
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`).
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
2023-10-14 11:27:55 +00:00
- https://github.com/jumpserver/jumpserver/commit/0a58bba59cd275bab8e0ae58bf4b359fbc5eb74a
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.09005
epss-percentile: 0.93922
2023-10-14 11:27:55 +00:00
cpe: cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*
2023-09-20 10:44:04 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
vendor: fit2cloud
product: jumpserver
2023-09-20 10:44:04 +00:00
fofa-query: title="JumpServer"
tags: cve,cve2023,jumpserver,exposure
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: 4b0a0048304602210095538ae8ff4fcbaab15a82b7d68a8574865a942f8e8a9bc548b34fdaad7876c40221008c1dbb85cce8e4cfef19a680ea09d91fb82e7a5898122bb47b587837f137029b:922c64590222798bb761d5b6d8e72950