37 lines
985 B
YAML
37 lines
985 B
YAML
id: npm-log-file
|
|
|
|
info:
|
|
name: Publicly accessible NPM Log file
|
|
author: sheikhrishad,DhiyaneshDk
|
|
severity: low
|
|
description: NPM log file is exposed to external users.
|
|
reference:
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
classification:
|
|
cpe: cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: npmjs
|
|
product: npm
|
|
shodan-query: html:"npm-debug.log"
|
|
tags: npm,logs,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/npm-debug.log"
|
|
- "{{BaseURL}}/assets/npm-debug.log"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "info it worked if it ends with ok"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100d9b4a478c4058646a2d69ed4b183c1c3921d57ac3d83b3d466f756234d1dacb302207ef298b9dda30cb659feec0357d751fb711fd038a5e5c2f234ef0e3b0a770279:922c64590222798bb761d5b6d8e72950 |