id: magento-admin-panel

info:
  name: Magento Admin Login Panel - Detect
  author: TechbrunchFR,ritikchaddha
  severity: info
  description: |
    Magento admin login panel was detected.
  reference:
    - https://docs.magento.com/user-guide/stores/store-urls-custom-admin.html
  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
    cpe: cpe:2.3:a:magento:magento:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: magento
    shodan-query: http.component:"Magento"
    vendor: magento
    verified: true
  tags: magento,panel

http:
  - method: GET
    path:
      - '{{BaseURL}}/admin'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Magento"
          - "Admin Panel"
        condition: and
# digest: 4a0a0047304502204f6ac97f29973075bd78aeada93be364421895496a07158003a44c39d6d73bd5022100a44e880faed290dad3cff7acd28120b23a35d3da55739242d40969fe57269dca:922c64590222798bb761d5b6d8e72950