Rails Debug Mode
ID: rails-debug-mode
Severity: medium
Author: pdteam
Tags: debug,rails,exposure,intrusive
Description
Section titled “Description”Rails debug mode is enabled.
YAML Source
Section titled “YAML Source”id: rails-debug-mode
info: name: Rails Debug Mode author: pdteam severity: medium description: Rails debug mode is enabled. metadata: max-request: 1 tags: debug,rails,exposure,intrusive
http: - method: GET path: - "{{BaseURL}}/{{randstr}}"
matchers: - type: word part: body words: - "Rails.root:" - "Action Controller: Exception caught" condition: and# digest: 4b0a00483046022100f99970eda107395bf5c3e682a902dfa83b95aafe1fa6a6c52c29596cd547d0d8022100820ebb5ceeacc8699b28f131043b1ebcf3bb366044a241a3fbaaf5b33018b1f8: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/logs/rails-debug-mode.yaml"