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-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: esmtp,config,exposure
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450220509b406f02f7c1bad027775dc407a9f8f4136ad2977d76ac97a29dba47401d8e022100dd609b3d16586ef181f69e9825daa528cbeb1b72dde297a7cd8c996569e2c6cb:922c64590222798bb761d5b6d8e72950
|