Create php-cs-cache.yaml

patch-1
Dhiyaneshwaran 2023-11-13 15:44:52 +05:30 committed by GitHub
parent 65ee5541f2
commit 6bfa8c52e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -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