Skip to content

Rakefile - File Disclosure

ID: rakefile-disclosure

Severity: info

Author: DhiyaneshDK

Tags: devops,exposure,rakefile,config,ruby,rails

Rakefile configuration file was detected.

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: 4a0a0047304502205ba062af08dd77081e4dfbd2c42a1e8bc0e028eb520ad7a5b6d670dfe79f0e9f022100c44f81522c8980056cca5d234694046cc648b58ce6ea8127948a9021d48ff05e:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/rakefile-disclosure.yaml"

View on Github