33 lines
885 B
YAML
33 lines
885 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
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
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: 490a0046304402205e083212c9e6ba90039b1774aed2b95d777c39b873fd4f9ee5792e4dbce2c9fc022061be5d69ed392493f0721e1fcd850d753b9fcb490ff8c4d10aacbaa18e2e5a48:922c64590222798bb761d5b6d8e72950 |