2021-06-04 15:16:19 +00:00
|
|
|
id: private-key-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Private key exposure via helper detector
|
|
|
|
author: aashiq
|
|
|
|
severity: high
|
|
|
|
description: Searches for private key exposure by attempting to query the helper endpoint on node_modules
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,node,misconfig
|
2021-06-04 15:16:19 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-06-04 15:16:19 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/node_modules/mqtt/test/helpers/"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Index of /node_modules/mqtt/test/helpers"
|
|
|
|
- "Parent Directory"
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c294a6ee94342fdf659b75a7fc34f5d42c33d258d54b2e288099f251ff38fbad022100d0dc677e42c8a464b65c64f32be52316c197379599896e1897c6d42be8a64e5a:922c64590222798bb761d5b6d8e72950
|