2021-01-30 05:32:29 +00:00
|
|
|
id: alibaba-canal-info-leak
|
2021-01-30 00:54:16 +00:00
|
|
|
|
|
|
|
info:
|
2023-02-05 18:03:17 +00:00
|
|
|
name: Alibaba Canal Config - Detect
|
2021-01-30 00:54:16 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: info
|
2023-02-05 21:43:17 +00:00
|
|
|
description: Alibaba Canal configuration information was detected.
|
2023-02-05 18:03:17 +00:00
|
|
|
reference:
|
2023-02-05 17:32:30 +00:00
|
|
|
- https://github.com/alibaba/canal/issues/632
|
|
|
|
- https://netty.io/wiki/reference-counted-objects.html
|
|
|
|
- https://my.oschina.net/u/4581879/blog/4753320
|
2023-02-05 16:34:12 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
|
|
cvss-score: 0.0
|
|
|
|
cwe-id: CWE-200
|
2023-02-05 17:32:30 +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
|
2023-02-05 16:34:12 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|