phpunit-result-cache-exposure: PHPUnit Result Cache File Exposure

日期: 2025-08-01 | 影响软件: phpunit | POC: 已公开

漏洞描述

PHPUnit cache file is exposed.

PoC代码[已公开]

id: phpunit-result-cache-exposure

info:
  name: PHPUnit Result Cache File Exposure
  author: DhiyaneshDk
  severity: low
  description: PHPUnit cache file is exposed.
  classification:
    cpe: cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:-:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: phpunit_project
    product: phpunit
    shodan-query: ".phpunit.result.cache"
  tags: config,exposure,devops,files,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/.phpunit.result.cache"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"defects"'

      - type: status
        status:
          - 200
# digest: 490a00463044022056ff37382f01a271ffdf207f1cfd446562af0746c4ba71b23f4abc742ec4f01d02201a2e3209e88bebfa25c4f4a70220edda454a7f84478e84b636b8bd07857855c5:922c64590222798bb761d5b6d8e72950

相关漏洞推荐