2020-11-25 20:41:58 +00:00
|
|
|
id: redmine-db-config
|
|
|
|
info:
|
|
|
|
name: Detect Redmine Database Configuration
|
|
|
|
author: geeknik
|
|
|
|
description: Redmine is a flexible project management web application written using Ruby on Rails framework - https://redmine.org/projects/redmine
|
2020-11-26 18:14:49 +00:00
|
|
|
severity: medium
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2020-11-25 20:41:58 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/database.yml"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-04-03 08:08:45 +00:00
|
|
|
- 'adapter:'
|
|
|
|
- 'database:'
|
|
|
|
- 'host:'
|
|
|
|
- 'production:'
|
2020-11-25 20:41:58 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-11-26 18:14:49 +00:00
|
|
|
- 200
|