2021-07-09 00:27:05 +00:00
|
|
|
id: stem-audio-table-private-keys
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Private Key on STEM Audio Table
|
|
|
|
author: gy741
|
|
|
|
severity: high
|
|
|
|
reference: https://blog.grimm-co.com/2021/06/the-walls-have-ears.html
|
2021-07-09 20:01:10 +00:00
|
|
|
tags: stem,config,exposure,iot
|
2021-07-09 00:27:05 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/cgi-bin/privatekey.pem"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "BEGIN RSA PRIVATE KEY"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-07-09 20:01:10 +00:00
|
|
|
- '!contains(tolower(body), "<html")'
|