2021-02-17 10:39:18 +00:00
|
|
|
id: npm-log-file
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Publicly accessible NPM Log file
|
2022-10-07 05:46:18 +00:00
|
|
|
author: sheikhrishad,DhiyaneshDk
|
2021-02-17 10:39:18 +00:00
|
|
|
severity: low
|
2024-01-02 15:53:10 +00:00
|
|
|
description: NPM log file is exposed to external users.
|
2022-10-07 05:49:23 +00:00
|
|
|
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-07 05:49:23 +00:00
|
|
|
shodan-query: html:"npm-debug.log"
|
2021-05-07 10:38:22 +00:00
|
|
|
tags: npm,logs,exposure
|
2021-02-17 10:39:18 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-17 10:39:18 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/npm-debug.log"
|
2022-10-07 05:46:18 +00:00
|
|
|
- "{{BaseURL}}/assets/npm-debug.log"
|
2021-02-17 10:39:18 +00:00
|
|
|
|
2022-10-07 05:46:18 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-02-17 10:39:18 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "info it worked if it ends with ok"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-02-17 10:43:06 +00:00
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 490a0046304402205e083212c9e6ba90039b1774aed2b95d777c39b873fd4f9ee5792e4dbce2c9fc022061be5d69ed392493f0721e1fcd850d753b9fcb490ff8c4d10aacbaa18e2e5a48:922c64590222798bb761d5b6d8e72950
|