id: deluge-webui-panel

info:
  name: Deluge WebUI Login Panel - Detect
  author: tess
  severity: info
  description: Deluge WebUI 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:deluge-torrent:deluge:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: deluge-torrent
    product: deluge
    shodan-query:
      - title:"Deluge WebUI"
      - http.title:"deluge webui"
    fofa-query: title="deluge webui"
    google-query: intitle:"deluge webui"
  tags: panel,deluge,deluge-torrent,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Deluge WebUI"
          - "author: 'Deluge Team"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "version: '([0-9.]+)',"
# digest: 4a0a0047304502201d0a42b9ae2ba77c88d51fdc265005b385ccde81794679e9072102ae6aa0387b022100c1f79dc29a56847db6f0000aa162356859f57bd6114729bca930dcc715914b91:922c64590222798bb761d5b6d8e72950