Description
Detected exposed Craft CMS log files due to misconfiguration, allowing unauthenticated access to sensitive information including error messages, stack traces, database queries, and potentially credentials or session data.
Detected exposed Craft CMS log files due to misconfiguration, allowing unauthenticated access to sensitive information including error messages, stack traces, database queries, and potentially credentials or session data.
id: craftcms-log-disclosure
info:
name: Craft CMS - Log File Disclosure
author: pussycat0x
severity: medium
description: |
Detected exposed Craft CMS log files due to misconfiguration, allowing unauthenticated access to sensitive information including error messages, stack traces, database queries, and potentially credentials or session data.
reference:
- https://craftcms.com/docs/5.x/system/logging.html
- https://craftcms.com/knowledge-base/locating-error-logs-and-database-backups
- https://github.com/craftcms/cms/issues/3619
metadata:
verified: true
max-request: 1
shodan-query: http.component:"Craft CMS"
fofa-query: app="Craft-CMS"
tags: craftcms,cms,exposure,logs,misconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}/storage/logs/web.log"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "craft_cms"
- "UrlManager"
- "schemaVersion"
condition: and
- type: status
status:
- 200
# digest: 4b0a004830460221009f5487223db414645376feff1565381b89f8abd0895abed0819130e11e03e120022100c1aa8774fe9c4ff40d079441ec90cefbd65651e6f81b01a0318b7d3771eede0b:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.