id: craftcms-admin-panel

info:
  name: Craft CMS Admin Login Panel - Detect
  author: Supr4s
  severity: info
  description: Craft CMS admin login panel was detected.
  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:nystudio107:seomatic:*:*:*:*:craft_cms:*:*:*
  metadata:
    max-request: 1
    vendor: nystudio107
    product: seomatic
    shodan-query:
      - 'X-Powered-By: Craft CMS'
      - "x-powered-by: craft cms"
      - 'x-powered-by: craft cms html:"seomatic"'
  tags: panel,craftcms,nystudio107

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

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - 'title="Powered by Craft CMS"'

      - type: word
        part: body
        words:
          - '<a id=\"poweredby\" href=\"http:\/\/craftcms.com\/\"'
# digest: 4a0a0047304502203d3d7f0d2a8b3ba989df6ce78d41731e203236d84c4eae6fa15d9d1ec9683a4502210090ec885796bf3bdea5659a00f46379461c53b76cb44755b08d5cdb0dd0224a30:922c64590222798bb761d5b6d8e72950