2020-10-15 17:21:05 +00:00
|
|
|
id: magento-config
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2020-10-15 17:21:05 +00:00
|
|
|
info:
|
|
|
|
name: Magento Config Disclosure
|
|
|
|
author: geeknik
|
|
|
|
severity: medium
|
2022-06-15 19:57:29 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.component:"Magento"
|
2021-05-18 13:53:10 +00:00
|
|
|
tags: config,exposure,magento
|
2020-10-15 17:21:05 +00:00
|
|
|
|
|
|
|
requests:
|
2020-10-15 17:57:19 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/app/etc/local.xml"
|
|
|
|
- "{{BaseURL}}/store/app/etc/local.xml"
|
2020-10-15 17:51:29 +00:00
|
|
|
|
2020-10-15 17:54:37 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2020-10-15 17:21:05 +00:00
|
|
|
- type: status
|
2020-10-15 17:59:04 +00:00
|
|
|
status:
|
|
|
|
- 200
|
2020-10-15 17:51:29 +00:00
|
|
|
|
2020-10-15 17:21:05 +00:00
|
|
|
- type: word
|
2020-10-15 18:03:50 +00:00
|
|
|
words:
|
|
|
|
- "text/xml"
|
|
|
|
part: header
|
2020-10-15 17:51:29 +00:00
|
|
|
|
2020-10-15 17:21:05 +00:00
|
|
|
- type: word
|
2020-10-15 18:03:50 +00:00
|
|
|
words:
|
|
|
|
- "Magento"
|
|
|
|
part: body
|