Create dbeaver-credentials.yaml

patch-1
Prince Chaddha 2021-08-19 16:32:09 +05:30 committed by GitHub
parent 760af33ce9
commit c980eea40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: dbeaver-credentials
info:
name: DBeaver Credential Exposure
author: geeknik
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/.dbeaver/credentials-config.json"
# to decode the above file, run this:
# openssl aes-128-cbc -d -K "babb4a9f774ab853c96c2d653dfe544a" -iv 00000000000000000000000000000000 -in credentials-config.json | dd bs=1 skip=16 2>/dev/null
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "application/octet-stream"
part: header
- type: dsl
dsl:
- "len(body) >=200 && len(body) <400"