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
|
|
|
|
tags: exposure,node
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
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"
|
|
|
|
condition: and
|