漏洞描述
Detected Craft CMS installation wizard was exposed, allowing attackers to complete the installation process and gain administrative access to the CMS.
id: craftcms-install-exposure
info:
name: Craft CMS Installation Wizard Exposure
author: 0x_Akoko
severity: high
description: |
Detected Craft CMS installation wizard was exposed, allowing attackers to complete the installation process and gain administrative access to the CMS.
reference:
- https://craftcms.com/docs/4.x/installation.html
- https://craftcms.com/knowledge-base/securing-craft
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score: 9.1
cwe-id: CWE-284
metadata:
max-request: 1
shodan-query: http.html:"Craft CMS"
fofa-query: body="Craft CMS"
tags: craftcms,install,exposure,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/admin/install"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "Install Craft", "Create your account", "/cpresources/")'
- 'contains(header, "CRAFT_CSRF_TOKEN")'
condition: and
# digest: 4a0a00473045022100d96fffd045471c41eaa6c8638aec351f97d18cf02f4ad1b678d3f1bdfd1add7202207e195153b7b55a259682ee8e37233975ad3dcacfad430135b9030aac6faca728:922c64590222798bb761d5b6d8e72950