2023-10-10 09:17:39 +00:00
|
|
|
id: rakefile-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Rakefile - File Disclosure
|
|
|
|
author: DhiyaneshDK
|
2023-10-10 14:07:58 +00:00
|
|
|
severity: info
|
2023-10-10 09:17:39 +00:00
|
|
|
description: |
|
|
|
|
Rakefile configuration file was detected.
|
|
|
|
reference:
|
|
|
|
- https://ruby.github.io/rake/doc/rakefile_rdoc.html
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-10-10 09:17:39 +00:00
|
|
|
shodan-query: html:"Rakefile"
|
|
|
|
tags: devops,exposure,rakefile,config,ruby,rails
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/Rakefile"
|
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'application.load_tasks'
|
|
|
|
- 'config/application'
|
|
|
|
condition: and
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'require'
|
|
|
|
- 'desc'
|
|
|
|
- 'task :'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022006d1348a9ef873df72d1fb2c0826d6d4ab59cae528ffd3b606b12acb7cd446d402206735a2059c2232203e2902431481d570b764b24f0dac6abcabd0507111b0c262:922c64590222798bb761d5b6d8e72950
|