Create composer-auth-json.yaml

patch-1
Dhiyaneshwaran 2022-07-06 22:36:30 +01:00 committed by GitHub
parent 190c3e4888
commit 0b58b305ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: composer-auth-json
info:
name: Composer-auth Json File Disclosure
author: DhiyaneshDK
severity: low
reference: https://www.exploit-db.com/ghdb/5768
metadata:
verified: true
google-query: intext:"index of /" ".composer-auth.json"
tags: exposure,devops
requests:
- method: GET
path:
- "{{BaseURL}}/.composer-auth.json"
- "{{BaseURL}}/vendor/webmozart/assert/.composer-auth.json"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'github-oauth'
- 'github.com'
condition: and
- type: status
status:
- 200