2021-05-28 03:39:55 +00:00
|
|
|
id: esmtprc-config
|
2021-05-26 21:28:18 +00:00
|
|
|
|
|
|
|
info:
|
2021-05-28 03:39:55 +00:00
|
|
|
name: eSMTP config disclosure
|
2021-05-26 21:28:18 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://linux.die.net/man/5/esmtprc
|
2021-05-26 21:28:18 +00:00
|
|
|
tags: esmtp,config
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.esmtprc"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
2021-05-28 03:39:55 +00:00
|
|
|
|
2021-05-26 21:28:18 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "hostname"
|
|
|
|
- "username"
|
|
|
|
- "password"
|
|
|
|
condition: and
|
2021-05-28 03:39:55 +00:00
|
|
|
|
2021-05-26 21:28:18 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|