Skip to content

Alibaba Canal Config - Detect

ID: alibaba-canal-info-leak

Severity: info

Author: pikpikcu

Tags: config,exposure,alibaba

Alibaba Canal configuration information was detected.

id: alibaba-canal-info-leak
info:
name: Alibaba Canal Config - Detect
author: pikpikcu
severity: info
description: Alibaba Canal configuration information was detected.
reference:
- https://github.com/alibaba/canal/issues/632
- https://netty.io/wiki/reference-counted-objects.html
- https://my.oschina.net/u/4581879/blog/4753320
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
cwe-id: CWE-200
metadata:
max-request: 1
tags: config,exposure,alibaba
http:
- 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
# digest: 490a00463044022045e3fc54462d5c7fe00811b2509142ba4bf7c6666b315309082a3daf6e985670022038bc3d713c9bd2e8d8d665698c1f0a6aab94462d2bd0689da867002f58420f47:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/alibaba-canal-info-leak.yaml"

View on Github