2023-06-07 10:53:51 +00:00
|
|
|
id: magento-version-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Magento Version Detect
|
|
|
|
author: sullo,dogancanbakir
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
Magento version detection via version module and copyright text.
|
|
|
|
reference:
|
|
|
|
- https://www.magento.com/
|
|
|
|
- https://magento.stackexchange.com/a/62966
|
|
|
|
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:
|
2023-10-14 11:27:55 +00:00
|
|
|
verified: "true"
|
2023-06-21 21:03:53 +00:00
|
|
|
max-request: 2
|
2023-06-07 10:53:51 +00:00
|
|
|
shodan-query: http.component:"Magento"
|
|
|
|
tags: tech,magento,cms
|
|
|
|
|
2023-06-19 08:41:35 +00:00
|
|
|
http:
|
2023-06-07 10:53:51 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /magento_version HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
GET /skin/frontend/default/default/css/styles.css HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '^Magento/.*$'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.9
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2014 Magento Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.8
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2013 Magento Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.7
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2012 Magento Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.6
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2011 Magento Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.4.1-1.5
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2010 Magento Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.4.0
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2009 Irubin Consulting Inc."
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: magento-1.0-1.3
|
|
|
|
words:
|
|
|
|
- "Copyright (c) 2008 Irubin Consulting Inc."
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- "Magento.*$"
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
name: version
|
|
|
|
regex:
|
|
|
|
- 'Magento\/([0-9.]+) '
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022019b50d3e37d72deb50ab111249913482a7f3dce40d55123f499ccbdbc962712c022062e40c043814e0ab3685c11d4e33f364c1dd14a3d4c3c7d65501fe724a842a18:922c64590222798bb761d5b6d8e72950
|