34 lines
915 B
YAML
34 lines
915 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: 4a0a00473045022063a462b21dfeb03181551e0ee06992ea73ec66d8a1470a7037f368b6aba588b7022100f654506f7238ae4f18dd7651793fab17466392b63862bc2b3a6b02fc4ab92b56:922c64590222798bb761d5b6d8e72950 |