id: seaweedfs-unauth

info:
  name: SeaweedFS Filer - Unauthenticated Access
  author: Th3l0newolf
  severity: high
  description: |
    SeaweedFS Filer interface is exposed without authentication.Unauthenticated users may be able to upload, modify, or access files, potentially leading to malicious file hosting, data exposure, or remote compromise.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cwe-id: CWE-306
  metadata:
    max-request: 1
    verified: true
    shodan-query: html:"SeaweedFS Filer"
  tags: panel,seaweedfs,filer,storage,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "<title>\\s*SeaweedFS Filer.*</title>"

      - type: word
        part: body
        words:
          - "</span> New Folder"
          - "</span> Upload"
        condition: and

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