mirror of
https://github.com/SleepingBag945/dddd.git
synced 2025-06-12 02:05:48 +00:00
47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
![]() |
id: jumpserver-unauth-rce
|
||
|
|
||
|
info:
|
||
|
name: Jumpserver Unauth RCE
|
||
|
author: SleepingBag945
|
||
|
severity: critical
|
||
|
description: |
|
||
|
Jumpserver
|
||
|
|
||
|
variables:
|
||
|
r1: "{{rand_base(5)}}"
|
||
|
|
||
|
http:
|
||
|
- raw:
|
||
|
- |
|
||
|
GET /api/v1/authentication/connection-token/ HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
- |
|
||
|
GET /api/v1/authentication/connection-token/?user-only={{r1}} HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
- |
|
||
|
GET /api/v1/users/connection-token/ HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
- |
|
||
|
GET /api/v1/users/connection-token/?user-only={{r1}} HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
matchers-condition: or
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- status_code_1==401
|
||
|
- status_code_2==404
|
||
|
- contains(body_1, 'not_authenticated')
|
||
|
- body_2=="\"\""
|
||
|
condition: and
|
||
|
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- status_code_3==401
|
||
|
- status_code_4==404
|
||
|
- contains(body_3, 'not_authenticated')
|
||
|
- body_4=="\"\""
|
||
|
condition: and
|