id: postiz-registration-enabled

info:
  name: Postiz - User Registration Enabled
  author: Th3l0newolf
  severity: info
  description: |
    Postiz registration page is exposed and allows public account creation. Unrestricted registration may allow unauthorized users to create accounts.
  classification:
    cpe: cpe:2.3:a:postiz:postiz:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    shodan-query: html:"Postiz Register"
  tags: postiz,misconfig,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Postiz Register</title>"
          - "Create Account</div></button>"
          - "Sign Up</h1>"
        condition: and

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