id: seeddms-panel

info:
  name: SeedDMS Login Panel - Detect
  author: pussycat0x,daffainfo
  severity: info
  description: SeedDMS login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:seeddms:seeddms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: seeddms
    product: seeddms
    shodan-query:
      - http.title:"SeedDMS"
      - http.title:"seeddms"
    fofa-query: title="seeddms"
    google-query: intitle:"seeddms"
  tags: panel,seeddms,login,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/out/out.Login.php?referuri=%2Fout%2Fout.ViewFolder.php"
      - "{{BaseURL}}/dms/out/out.Login.php?referuri=%2Fout%2Fout.ViewFolder.php"

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'href="/out/out.ViewFolder.php">SeedDMS</a>'
          - 'href="../out/out.ViewFolder.php?folderid=1">SeedDMS</a>'
        condition: or

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