id: syncthing-dashboard

info:
  name: Syncthing Dashboard Exposure
  author: fabaff
  severity: medium
  description: Syncthing Dashboard is exposed.
  reference:
    - https://syncthing.net/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:'ng-app="syncthing"'
  tags: misconfig,syncthing,exposure

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'The Syncthing Authors.'
          - 'Actions'
        condition: and

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