diff --git a/exposures/files/composer-auth-json.yaml b/exposures/files/composer-auth-json.yaml new file mode 100644 index 0000000000..8a3d0f647b --- /dev/null +++ b/exposures/files/composer-auth-json.yaml @@ -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