nuclei-templates/http/exposures/configs/rackup-config-ru.yaml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2022-10-24 23:42:18 +00:00
id: rackup-config-ru
info:
name: Rackup Configuration - Detect
2022-10-24 23:42:18 +00:00
author: DhiyaneshDk
severity: info
description: Rackup configuration information was detected.
2022-10-24 23:42:18 +00:00
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
- https://learn.co/lessons/config-ru-tutorial
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
2023-10-14 11:27:55 +00:00
cvss-score: 0
cwe-id: CWE-200
2022-10-24 23:42:18 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-10-24 23:42:18 +00:00
shodan-query: html:"config.ru"
2022-10-24 23:42:51 +00:00
tags: exposure,files,config,rackup
2022-10-24 23:42:18 +00:00
http:
2022-10-24 23:42:18 +00:00
- method: GET
path:
- '{{BaseURL}}/config.ru'
matchers-condition: or
matchers:
- type: word
part: body
words:
- "run Rails.application"
- "/config/environment"
condition: and
- type: word
part: body
words:
- "Bundler.require"
- "require 'rubygems'"
condition: and
# digest: 4a0a00473045022100a7fe31a8a47849d4202b84d9be6cbe2f27f0a344699adbaa3124b8d89bc95c3f0220172dc6d5e3e15466ee6b065e5f36fecea4751a60074fd8425ff54108e98f7570:922c64590222798bb761d5b6d8e72950