Rakefile - File Disclosure
ID: rakefile-disclosure
Severity: info
Author: DhiyaneshDK
Tags: devops,exposure,rakefile,config,ruby,rails
Description
Section titled “Description”Rakefile configuration file was detected.
YAML Source
Section titled “YAML Source”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:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/exposures/configs/rakefile-disclosure.yaml"