nuclei-templates/http/misconfiguration/teslamate-unauth-access.yaml

44 lines
1.1 KiB
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.
classification:
cpe: cpe:2.3:a:teslamate_project:teslamate:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: teslamate_project
product: teslamate
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>"
# digest: 4a0a00473045022075cc13cfdfcf62b1a638ecbb9f8bdfbc609ab05aac0cca382e3f70a7fe1f8a9d022100e06d1c7bbc211cf978444284c83206c1af0923146455d387b9935ea2a49bd9b6:922c64590222798bb761d5b6d8e72950