Create php-cs-cache.yaml
parent
65ee5541f2
commit
6bfa8c52e5
|
@ -0,0 +1,32 @@
|
|||
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
|
Loading…
Reference in New Issue