43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
id: rakefile-disclosure
|
|
|
|
info:
|
|
name: Rakefile - File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
description: |
|
|
Rakefile configuration file was detected.
|
|
reference:
|
|
- https://ruby.github.io/rake/doc/rakefile_rdoc.html
|
|
classification:
|
|
cpe: cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: ruby-lang
|
|
product: ruby
|
|
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
|
|
# digest: 490a0046304402205460969ac8d0c2f09cdb500d3e8fda4f8ccf14ade2ba57a1a1ee85ac276d617b022076d62b01ba90cdcf3e967c84762fcd32f8641879db8bbe5d073a1271d724854e:922c64590222798bb761d5b6d8e72950 |