2022-10-24 23:42:18 +00:00
|
|
|
id: rackup-config-ru
|
|
|
|
|
|
|
|
info:
|
2023-02-05 19:03:29 +00:00
|
|
|
name: Rackup Configuration - Detect
|
2022-10-24 23:42:18 +00:00
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: info
|
2023-02-05 22:11:34 +00:00
|
|
|
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
|
2023-02-05 18:48:02 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
|
|
cvss-score: 0.0
|
|
|
|
cwe-id: CWE-200
|
2022-10-24 23:42:18 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
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
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|
2023-02-05 18:48:02 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|