id: ntfy-web-exposure

info:
  name: NTFY Web - Exposure
  author: DhiyaneshDk
  severity: medium
  description: |
    Publicly exposed NTFY web interface allowing unauthorized publish or subscribe access.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"ntfy.sh"
  tags: exposure,ntfy,web,misconfig,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>ntfy web</title>"

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