zen-cart-log-exposure: Zen Cart Log File Exposure

2026-01-24 Zen Cart PoC Public

Description

Detected exposed Zen Cart log files that may contain sensitive information including error messages, file paths, database queries, and customer data.

PoC

id: zen-cart-log-exposure

info:
  name: Zen Cart Log File Exposure
  author: 0x_Akoko
  severity: medium
  description: |
    Detected exposed Zen Cart log files that may contain sensitive information including error messages, file paths, database queries, and customer data.
  reference:
    - https://www.zen-cart.com/
    - https://docs.zen-cart.com/user/troubleshooting/debug_logs/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 5
    shodan-query: http.html:"zen-cart" || http.html:"Zen Cart"
    fofa-query: body="zen-cart" || body="Zen Cart"
  tags: zencart,exposure,logs,ecommerce,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/logs/"
      - "{{BaseURL}}/cache/"
      - "{{BaseURL}}/includes/logs/"
      - "{{BaseURL}}/admin/logs/"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Index of"
          - "myDEBUG"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: log-files
        part: body
        regex:
          - 'myDEBUG[a-zA-Z0-9_-]+\.log'
# digest: 490a0046304402204e1c6da89621b1851aa15b4186cced5688b5931342a35a0c6ea9d3530e379988022066af90082fed80ea5b7f1252f71306e316820fd553a65bf957d2a0ebe0adf119:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities