38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
id: composer-auth-json
|
|
|
|
info:
|
|
name: Composer-auth Json File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: low
|
|
description: Composer Auth Josn file is disclosed.
|
|
reference: https://www.exploit-db.com/ghdb/5768
|
|
classification:
|
|
cpe: cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: getcomposer
|
|
product: composer
|
|
google-query: intext:"index of /" ".composer-auth.json"
|
|
tags: exposure,devops,files
|
|
|
|
http:
|
|
- 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
|
|
# digest: 4b0a0048304602210087cdb3083d4893d218ff4a9c4e0b7aa79fdf4592095a6b2f25fedeecd8dfd951022100cef6caae0954a29c6ae2339c1c6f8aada8e3c24f098d589cd181731323b26d98:922c64590222798bb761d5b6d8e72950 |