2021-01-30 05:32:29 +00:00
|
|
|
id: alibaba-canal-info-leak
|
2021-01-30 00:54:16 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Alibaba Canal Info Leak
|
|
|
|
author: pikpikcu
|
|
|
|
severity: info
|
2021-08-19 13:15:35 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/alibaba/canal/issues/632
|
|
|
|
- https://netty.io/wiki/reference-counted-objects.html
|
|
|
|
- https://my.oschina.net/u/4581879/blog/4753320
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: config,exposure,alibaba
|
2021-01-30 00:54:16 +00:00
|
|
|
|
|
|
|
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
|