nuclei-templates/http/technologies/nacos-version.yaml

49 lines
1.2 KiB
YAML

id: nacos-version
info:
name: Nacos - Detect
author: Arm!tage
severity: info
description: |
Nacos was detected.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cwe-id: CWE-200
cpe: cpe:2.3:a:alibaba:nacos:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
shodan-query: title:"Nacos"
product: nacos
vendor: alibaba
tags: tech,detect,nacos
http:
- method: GET
path:
- "{{BaseURL}}/v1/console/server/state?accessToken=&username="
- "{{BaseURL}}/nacos/v1/console/server/state?accessToken=&username="
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '"version":"(\d+\.\d+\.\d+)"'
- type: regex
part: content_type
regex:
- 'application/json'
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- '"version":"(\d+\.\d+\.\d+)"'
# digest: 4a0a00473045022100ec7dc4818ed84042ea76c4c0bff48ca76306f829c1249de2a65075ccd05cc9b602202c53fda570cc0efaaeed842dfd69113ecc0319b67b3ed4746a4f0c6c740ddc6f:922c64590222798bb761d5b6d8e72950