nuclei-templates/exposures/configs/alibaba-canal-info-leak.yaml

36 lines
773 B
YAML
Raw Normal View History

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-04-06 06:46:11 +00:00
tags: config,exposure
2021-01-30 00:54:16 +00:00
# https://github.com/alibaba/canal/issues/632
# https://netty.io/wiki/reference-counted-objects.html
2021-01-30 00:58:14 +00:00
# https://my.oschina.net/u/4581879/blog/4753320
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