id: linkwarden-panel

info:
  name: Linkwarden Panel - Detect
  author: ChrisJr404
  severity: info
  description: |
    Linkwarden (linkwarden.app / github.com/linkwarden/linkwarden) is a popular open-source self-hosted bookmark and link archiving manager. Default Docker port 3000. Exposed instances may reveal users' archived link collections, screenshots, and PDFs.
  reference:
    - https://github.com/linkwarden/linkwarden
    - https://linkwarden.app/
  metadata:
    verified: true
    max-request: 1
    vendor: linkwarden
    product: linkwarden
    shodan-query: http.title:"Linkwarden"
    fofa-query: title="Linkwarden"
  tags: panel,linkwarden,bookmarks,selfhosted,detect,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "<title>linkwarden</title>")'
        condition: and

      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "linkwarden", "_next")'
        condition: and
# digest: 4a0a0047304502207c6a015d35bdd3325c7a75a72e1e3f589ffc0d84a16dc47c373faed392e52ba2022100d7a5cf4469ed90af1980dd5b0c27cf3ced4eb7a224da8b788d102aef68d5f702:922c64590222798bb761d5b6d8e72950