2022-07-06 21:36:30 +00:00
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-07-06 21:36:30 +00:00
|
|
|
google-query: intext:"index of /" ".composer-auth.json"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,devops,files
|
2022-07-06 21:36:30 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-06 21:36:30 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.composer-auth.json"
|
|
|
|
- "{{BaseURL}}/vendor/webmozart/assert/.composer-auth.json"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-06 21:36:30 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'github-oauth'
|
|
|
|
- 'github.com'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100d76d9b95b4179ee9848fd6229ce2055e7cdbc135ff0660bea2178d92df0137fa022100900c797e939708bc18c20d613d38edd938e0ce43d8908a8568583e6c660560bb:922c64590222798bb761d5b6d8e72950
|