2022-12-10 13:57:13 +00:00
|
|
|
id: npm-debug-log
|
|
|
|
|
|
|
|
info:
|
2022-12-10 17:07:49 +00:00
|
|
|
name: NPM Debug Log Disclosure
|
2022-12-10 13:57:13 +00:00
|
|
|
author: Hardik-Solanki
|
|
|
|
severity: low
|
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
- https://docs.npmjs.com/generating-and-locating-npm-debug.log-files
|
2022-12-12 17:55:36 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-12-12 17:55:36 +00:00
|
|
|
github-query: filename:npm-debug.log
|
2022-12-16 18:00:59 +00:00
|
|
|
tags: exposure,npm,logs,debug
|
2022-12-10 13:57:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-10 13:57:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/npm-debug.log"
|
|
|
|
- "{{BaseURL}}/assets/npm-debug.log"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-12-10 13:57:13 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'verbose cli'
|
|
|
|
- 'verbose stack'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022067ac9b9b5b4180d43755571a3f37e4af5eb7bec80ea9093e0362750fdaf36a4c022100ae9e2d86fbd99b36c77eaadcdf4a76fcc23c18eece43f7b227b3328361a4f937:922c64590222798bb761d5b6d8e72950
|