36 lines
917 B
YAML
36 lines
917 B
YAML
id: php-cs-cache
|
|
|
|
info:
|
|
name: PHP-CS-Fixer Cache - File Disclosure
|
|
author: DhiyaneshDk
|
|
severity: medium
|
|
description: PHP CS fixer cache internal file is disclosed.
|
|
reference:
|
|
- https://www.acunetix.com/vulnerabilities/web/php-cs-fixer-cache-file-publicly-accessible-php_cs-cache/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: html:"php_cs.cache"
|
|
tags: exposure,files,php
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.php_cs.cache"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{"php":'
|
|
- '"version":'
|
|
- '"indent":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100d4b319a46b167af383074e00bcad3363c779ab0d15b879c24630123e7974a52c022019da8227604316a51a42263a339aaa9ed192a09a70b18fd8fb20a3ef8a08e28d:922c64590222798bb761d5b6d8e72950
|