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

日期: 2025-08-01 | 影响软件: phpunit-result-cache-exposure | 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

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

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100b29b381caeda237f3cd25c6813ff93318a71d616ff71844a5d5d184aca03bdb802205c93158dc3409a4b67a7ef5bbc987b575da290722d47ca9143d9dc26b877cee3:922c64590222798bb761d5b6d8e72950