id: outline-panel

info:
  name: Outline Panel - Detect
  author: ChrisJr404
  severity: info
  description: |
    Outline (getoutline.com / github.com/outline/outline) is a popular open-source team knowledge base / wiki, often self-hosted as a Notion alternative. Exposed self-hosted instances may reveal team documents and provide a path to login enumeration if SSO is misconfigured.
  reference:
    - https://github.com/outline/outline
    - https://www.getoutline.com/
  metadata:
    verified: true
    max-request: 1
    vendor: outline
    product: outline
    shodan-query: http.title:"Outline"
    fofa-query: title="Outline"
  tags: panel,outline,wiki,knowledge-base,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>outline</title>") || contains(body, "data-outline-team")'
          - 'contains(body, "outline")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<meta name="outline-version" content="([^"]+)"'
# digest: 4b0a004830460221008f6985d1d13ae53765b867fa817daafc8e75f33cef815452679be46c08afde5e022100cbeaf530630cf717847dc5a6e5c86f67a32874eba91ac536d9261d4c845d4292:922c64590222798bb761d5b6d8e72950