nuclei-templates/http/exposed-panels/bookstack-panel.yaml

50 lines
1.2 KiB
YAML

id: bookstack-panel
info:
name: BookStack Login Panel - Detect
author: cyllective,daffainfo
severity: info
description: Bookstack login panel was detected.
reference:
- https://github.com/BookStackApp/BookStack
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
vendor: bookstackapp
product: bookstack
max-request: 1
shodan-query: http.title:"BookStack"
tags: panel,bookstack
http:
- method: GET
path:
- "{{BaseURL}}/login"
matchers-condition: and
matchers:
- type: word
part: body
condition: or
words:
- '<title>BookStack</title>'
- '<span class="logo-text">BookStack</span>'
- type: word
part: header
words:
- 'Set-Cookie: bookstack_session'
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '(?:app\.js|(?:print\-)?styles\.css)\?version=([\w\.\-]+)["'']>'
# digest: 4a0a004730450220643cad4a79db59e9ae7f58122abd49984c197e83f553fe1ecd9f2e694d5c5de2022100fc28499a51e2ac3c4167255b399183ffb3a03515e4568b9593565043b6e9430d:922c64590222798bb761d5b6d8e72950