2021-05-28 03:39:55 +00:00
|
|
|
id: esmtprc-config
|
2021-05-26 21:28:18 +00:00
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: eSMTP - Config Discovery
|
2021-05-26 21:28:18 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-07-26 13:45:11 +00:00
|
|
|
description: eSMTP configuration was discovered.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://linux.die.net/man/5/esmtprc
|
2023-06-02 23:20:14 +00:00
|
|
|
tags: esmtp,config,exposure
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-05-26 21:28:18 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-26 21:28:18 +00:00
|
|
|
- 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
|