2021-08-19 11:02:09 +00:00
|
|
|
id: dbeaver-credentials
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: DBeaver Credential Exposure
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2021-08-19 11:04:32 +00:00
|
|
|
tags: exposure,dbeaver
|
|
|
|
|
2021-08-19 11:02:09 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.dbeaver/credentials-config.json"
|
|
|
|
|
2021-08-23 09:39:33 +00:00
|
|
|
# To decode the credentials file, use following command:
|
|
|
|
# openssl aes-128-cbc -d -K "babb4a9f774ab853c96c2d653dfe544a" -iv 00000000000000000000000000000000 -in credentials-config.json | dd bs=1 skip=16 2>/dev/null
|
|
|
|
|
2021-08-19 11:02:09 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-08-20 11:07:22 +00:00
|
|
|
|
2021-08-19 11:02:09 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/octet-stream"
|
|
|
|
part: header
|