nuclei-templates/http/default-logins/alibaba/canal-default-login.yaml

45 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2021-09-21 11:46:53 +00:00
id: canal-default-login
info:
2021-09-22 10:37:07 +00:00
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
2024-03-22 04:24:04 +00:00
tags: canal,alibaba,default-login
http:
- raw:
- |
POST /api/v1/user/login HTTP/1.1
2021-10-10 01:21:50 +00:00
Host: {{Hostname}}
Content-Type: application/json
2021-10-10 01:53:02 +00:00
{"username":"{{user}}","password":"{{pass}}"}
2021-10-10 01:53:02 +00:00
attack: pitchfork
payloads:
2021-10-10 01:53:02 +00:00
user:
- admin
2021-10-10 01:53:02 +00:00
pass:
- 123456
matchers-condition: and
matchers:
- type: status
status:
- 200
2021-10-10 01:53:02 +00:00
- type: word
2021-10-10 01:53:02 +00:00
condition: and
words:
- 'data":{"token"'
- '"code":20000'
# digest: 4a0a00473045022100dcf09580a68dde8267efb45c71a519054938eaa0f8389934c19a69f945ecbd73022010071bf196c1b070ee79de3c48c4227e6834381e641b486b2059ace96d8257d7:922c64590222798bb761d5b6d8e72950