Merge pull request #7252 from For3stCo1d/CVE-2023-29857

Create CVE-2023-29857.yaml
patch-1
Dhiyaneshwaran 2023-05-18 16:18:00 +05:30 committed by GitHub
commit 5238ad2b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
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: 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>"