id: ibm-dsc-default-login

info:
  name: IBM Decision Server Console - Default Login
  author: DhiyaneshDK
  severity: high
  reference:
    - https://www.ibm.com/docs/en/odm/8.8.0?topic=center-overview-decision
  metadata:
    verified: true
    max-request: 1
    shodan-query: "title:\"Rule Execution Server\""
  tags: ibm,default-login,decision-server,vuln

http:
  - raw:
      - |
        POST /res/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:
          - "odmAdmin"
          - "Sign Out"
          - "Diagnostics"
        condition: and

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