CVE-2023-42442 JumpServer session replays download without authentication
- 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 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).
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fit2cloud jumpserver | >= 3.0.0, < 3.5.5; >= 3.6.0, < 3.6.4 | 3.5.5, 3.6.4 | Fixed |
| jumpserver | = >= 3.0.0, < 3.5.5; = >= 3.6.0, < 3.6.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jumpserver | = >= 3.0.0, < 3.5.5 | No fix listed |
| jumpserver | = >= 3.6.0, < 3.6.4 | No fix listed |
| fit2cloud jumpserver | >= 3.0.0, < 3.5.5 | 3.5.5 |
| fit2cloud jumpserver | >= 3.6.0, < 3.6.4 | 3.6.4 |
References
- https://github.com/jumpserver/jumpserver/security/advisories/GHSA-633x-3f4f-v9rw exploit vendor-advisory
- https://github.com/jumpserver/jumpserver/commit/0a58bba59cd275bab8e0ae58bf4b359fbc5eb74a patch
- https://github.com/jumpserver/jumpserver/blob/v3.6.1/apps/terminal/api/session/session.py#L91 product