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
|
|
|
|
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
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/.npm/anonymous-cli-metrics.json'
|
|
|
|
- '{{BaseURL}}/anonymous-cli-metrics.json'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
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"
|