Merge pull request #6 from HardikSolanki96/database-credentials

Create database-credentials.yaml
patch-1
Hardik Solanki 2022-12-10 13:40:59 +00:00 committed by GitHub
commit 9902c4d33a
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: database-credentials
info:
name: Database Credentials File Exposure
author: Hardik-Solanki
severity: high
metadata:
verified: true
github-query: filename:database_credentials.inc
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
tags: exposure,database,config,files
requests:
- method: GET
path:
- "{{BaseURL}}/database_credentials.inc"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '$DATABASE_USER'
- '$DATABASE_PASS'
condition: and
- type: status
status:
- 200