2022-05-11 13:46:48 +00:00
|
|
|
id: msmtp-config
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: Msmtp - Config Exposure
|
2022-05-11 13:46:48 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-07-26 13:45:11 +00:00
|
|
|
description: Msmtp configuration was discovered.
|
2022-05-11 13:46:48 +00:00
|
|
|
reference:
|
|
|
|
- https://wiki.archlinux.org/title/Msmtp
|
2022-05-11 18:16:35 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-05-11 13:46:48 +00:00
|
|
|
tags: exposure,generic,msmtp
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.msmtprc"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'account'
|
|
|
|
- 'host'
|
|
|
|
- 'from'
|
|
|
|
- 'auth'
|
|
|
|
- 'tls'
|
|
|
|
condition: and
|
|
|
|
|
2022-05-11 13:49:08 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'text/plain'
|
|
|
|
- 'octet-stream'
|
|
|
|
condition: or
|
2022-05-11 20:37:01 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-07-26 13:45:11 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/15
|