44 lines
1010 B
YAML
44 lines
1010 B
YAML
id: eol-magento
|
|
|
|
info:
|
|
name: Magento End-of-life Detect
|
|
author: dogancanbakir
|
|
severity: info
|
|
description: |
|
|
Magento end of life detection.
|
|
reference:
|
|
- https://www.magento.com/
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: http.component:"Magento"
|
|
tags: magento,tech,cms
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
internal: true
|
|
name: version
|
|
group: 1
|
|
regex:
|
|
- 'Magento\/([0-9.]+) '
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- compare_versions(version, '<=2.4')
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- 'Magento\/([0-9.]+) '
|
|
|
|
# digest: 490a004630440220300372e1185accfbfbd861fd3d5f5a2871aa75c9cb1be6532602b9f3cc81448b022062498d3aba4c74277c9872d8cd40a9ddab2dd8f3880597967e44367b27c9031f:922c64590222798bb761d5b6d8e72950
|