id: database-credentials info: name: Database Credentials File Exposure author: Hardik-Solanki severity: low reference: - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt metadata: verified: true max-request: 1 github-query: filename:database_credentials.inc tags: exposure,database,config,files http: - 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 # digest: 4b0a00483046022100d03371f998df3d80989282e92b27cd8d80dd36c2f998ea3794d94ce437f553d1022100bd4da24abfad9f37bfc8e7dd8fc32294842ec7f387603c10f4e261eeaca06c44:922c64590222798bb761d5b6d8e72950