id: xxljob-panel

info:
  name: XXLJOB Admin Login Panel - Detect
  author: pdteam,daffainfo,ritikchaddha
  severity: info
  description: XXLJOB admin login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/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:xuxueli:xxl-job:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: xuxueli
    product: xxl-job
    shodan-query: http.favicon.hash:1691956220
    fofa-query: icon_hash=1691956220
  tags: panel,xxljob,login,xuxueli

http:
  - method: GET
    path:
      - "{{BaseURL}}/xxl-job-admin/toLogin"
      - "{{BaseURL}}/toLogin"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<a><b>XXL</b>JOB</a>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"admin_version":"(.*?)"'
# digest: 4a0a00473045022013a4a594990941048756bd66cc4f9fe4bd1f4ef61323e0ce971c692a3b260366022100fd8eec59142733d61df8e04305c1377d8c4ee9ca7f15c6f07a71e50e0b7f7cae:922c64590222798bb761d5b6d8e72950