40 lines
802 B
YAML
40 lines
802 B
YAML
id: teslamate-unauth-access
|
|
|
|
info:
|
|
name: TeslaMate - Unauthenticated Access
|
|
author: For3stCo1d
|
|
severity: medium
|
|
description: |
|
|
A misconfig in Teslamate allows unauthorized access to /settings endpoint.
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: http.favicon.hash:-1478287554
|
|
fofa-query: title="teslamate"
|
|
tags: misconfig,teslamate,unauth
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/settings"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Settings · TeslaMate"
|
|
- "URLs</h2>"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- "<td>([0-9.]+)<strong>"
|