33 lines
660 B
YAML
33 lines
660 B
YAML
|
id: php-cs-cache
|
||
|
|
||
|
info:
|
||
|
name: PHP-CS-Fixer Cache - File Disclosure
|
||
|
author: DhiyaneshDk
|
||
|
severity: medium
|
||
|
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
|