2023-11-13 10:14:52 +00:00
|
|
|
id: php-cs-cache
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PHP-CS-Fixer Cache - File Disclosure
|
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: medium
|
2024-01-02 16:16:15 +00:00
|
|
|
description: PHP CS fixer cache internal file is disclosed.
|
2023-11-13 10:14:52 +00:00
|
|
|
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
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4a0a00473045022063a462b21dfeb03181551e0ee06992ea73ec66d8a1470a7037f368b6aba588b7022100f654506f7238ae4f18dd7651793fab17466392b63862bc2b3a6b02fc4ab92b56:922c64590222798bb761d5b6d8e72950
|