id: kettle-default-login

info:
  name: Kettle - Default Login
  author: For3stCo1d
  severity: medium
  description: Kettle contains a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
    cvss-score: 5.8
    cwe-id: CWE-522
  metadata:
    verified: true
    max-request: 1
    shodan-query: basic realm="Kettle"
  tags: default-login,kettle,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/"
    headers:
      Authorization: "Basic {{base64(username + ':' + password)}}"

    attack: pitchfork
    payloads:
      username:
        - cluster
      password:
        - cluster

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Kettle slave server'

      - type: status
        status:
          - 200
# digest: 4a0a0047304502204694e74c86cd9e96050ba9171736485efaae0a80ad01b2f07394b3e371019ba80221009e2519c507bc2fe7e8e43da6be9d79a6a768c527fb0dd74cfab18d3f092f2432:922c64590222798bb761d5b6d8e72950