id: seeddms-default-login

info:
  name: SeedDMS Default Login
  author: alifathi-h1
  severity: high
  description: SeedDMS default admin credentials were discovered.
  reference:
    - https://www.seeddms.org/index.php?id=2
    - https://www.redhat.com/sysadmin/install-seeddms
  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:
    max-request: 1
    shodan-query: http.title:"SeedDMS"
  tags: default-login,seeddms

http:
  - raw:
      - |
        POST /op/op.Login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        login={{username}}&pwd={{password}}&lang=

    payloads:
      username:
        - admin
      password:
        - admin
    attack: pitchfork

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'Location: /out/out.ViewFolder.php'

      - type: status
        status:
          - 302

# digest: 4a0a00473045022100d82cfee35978bded2a46979183addd6bdf2cfece0b0e74f99e3758371ed99c9a02205f98235f1b798819eb7bac406595359b71b52b7171456eacff757bd9318b8511:922c64590222798bb761d5b6d8e72950
