Merge pull request #8612 from projectdiscovery/php-cs-cache

Create php-cs-cache.yaml
patch-1
pussycat0x 2023-11-13 21:15:46 +05:30 committed by GitHub
commit 25b530617f
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