Create secret-token-rb.yaml

patch-1
Dhiyaneshwaran 2022-07-10 01:34:21 +01:00 committed by GitHub
parent 1df82f0f74
commit 06f45f0194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: secret-token-rb
info:
name: Secret Token Ruby File Disclosure
author: DhiyaneshDK
severity: medium
metadata:
verified: true
google-query: intitle:"index of" "secret_token.rb"
tags: redmine,devops,exposure,ruby
requests:
- method: GET
path:
- "{{BaseURL}}/secret_token.rb"
- "{{BaseURL}}/config/initializers/secret_token.rb"
- "{BaseURL}}/redmine/config/initializers/secret_token.rb"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'Application.config.secret'
condition: and
- type: status
status:
- 200