2022-10-10 20:34:00 +00:00
|
|
|
id: npm-anonymous-cli
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NPM Anonymous CLI Metrics Exposure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-10-10 20:34:00 +00:00
|
|
|
shodan-query: html:"anonymous-cli-metrics.json"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,npm,config,files
|
2022-10-10 20:34:00 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-10-10 20:34:00 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/.npm/anonymous-cli-metrics.json'
|
|
|
|
- '{{BaseURL}}/anonymous-cli-metrics.json'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-10-10 20:34:00 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"metricId":'
|
|
|
|
- '"metrics":'
|
|
|
|
- '"successfulInstalls":'
|
|
|
|
condition: and
|
|
|
|
|
2022-10-11 10:17:12 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a004830460221008862d5fb8f1ed2ee35596c48dab6f36c68bc5d1c0f74746809c60b7e99dc269f0221009773f6d4ac3375e83fc3aec538dfcb492af56b9a1c7a556aa35abb244f1a51ab:922c64590222798bb761d5b6d8e72950
|