40 lines
788 B
YAML
40 lines
788 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:
|
||
|
max-req: 1
|
||
|
verified: "true"
|
||
|
shodan-query: title:"TeslaMate"
|
||
|
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>"
|