33 lines
781 B
YAML
33 lines
781 B
YAML
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
|
|
metadata:
|
|
max-request: 1
|
|
tags: stem,config,exposure,iot
|
|
|
|
http:
|
|
- 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:
|
|
- '!contains(tolower(body), "<html")'
|
|
|
|
# digest: 490a0046304402201581884fea6e5c138a48d6ac4dde092d28786422db7565268a81772900770462022060ff595c4e18ef0d24047e0e3e32d7ac5279d26789c00bd38ef02012a5e20a18:922c64590222798bb761d5b6d8e72950
|