Security Resilience

CVE-2023-5222

Exposed Creds in Viessmann Vitogate 300 Firmware ≤ 2.1.3.0

Public PoCHigh EPSSExposed Creds
Published
27 September 2023
Modified
21 November 2024
CVSS Score v3.1 6.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.80 99.6th percentile
Risk Priority 75 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-5222 is a medium-severity Use of Hard-coded Password (CWE-259) vulnerability in Viessmann Vitogate 300 Firmware. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked in the top 0.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-5222 is a hard-coded password vulnerability (CWE-259) in the isValidUser function within /cgi-bin/vitogate.cgi of the web management interface on Viessmann Vitogate 300 devices running firmware up to version 2.1.3.0. The flaw allows authentication bypass through static credentials embedded in the component, rated at CVSS 6.3 with an attack vector of adjacent network access.

An unauthenticated attacker on the same local network segment can exploit the issue to obtain limited read, write, and disruption capabilities against the device without user interaction. Public proof-of-concept code has been released that demonstrates direct use of the hard-coded password against the CGI endpoint.

Vendor advisories and patches are unavailable; the supplier was notified prior to disclosure but provided no response, leaving the referenced GitHub technical write-up and VulDB entries as the primary public sources of detail. The associated EPSS score remains elevated near 0.90 with no documented low-to-high trajectory after publication.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file /cgi-bin/vitogate.cgi of the component Web Management Interface. The manipulation leads to use of hard-coded password. The exploit…

more

has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-240364. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.001 Default Accounts Stealth
Adversaries may obtain and abuse credentials of a default account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.002 Domain Accounts Stealth
Adversaries may obtain and abuse credentials of a domain account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-5702Same product: Viessmann Vitogate 300 Firmware
CVE-2023-45852Same product: Viessmann Vitogate 300 Firmware
CVE-2025-30106Shared CWE-259
CVE-2024-2038Shared CWE-259
CVE-2025-58081Shared CWE-259
CVE-2025-36609Shared CWE-259
CVE-2024-27164Shared CWE-259
CVE-2025-61330Shared CWE-259
CVE-2024-37644Shared CWE-259
CVE-2025-47818Shared CWE-259

Affected Assets

viessmann
vitogate 300 firmware
≤ 2.1.3.0

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-259

Changing default authenticators prior to first use directly prevents use of hard-coded passwords.

addresses: CWE-259

Shared threat data frequently highlights products or deployments still using hard-coded passwords, enabling remediation that directly blocks credential-based attacks.

addresses: CWE-259

Background checks and authorization requirements decrease the probability that a developer will hard-code passwords for later unauthorized access.

addresses: CWE-259

Reviews of supplier deliverables reduce the chance that hard-coded passwords are introduced into the system.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prohibit embedding credentials in source code or binaries.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's SOURCE+RUNTIME reach finds hard-coded passwords well: SAST detects password string literals, code review catches them, and penetration testing extracts them from binaries; the same bounded remainder as the CWE-798 anchor applies -- credentials assembled at build time, baked into images as configuration, or shipped inside binary-only third-party components.

prevents

Training/awareness addresses hard-coded passwords as a known anti-pattern (the clause explicitly names password security as a baseline control topic), and a developer who has been educated will sometimes choose not to hard-code credentials, but the weakness is a code-level defect introduced during implementation where convenience pressures and time-to-market routinely override training, so the effect is a minority one.

blocks

Network segregation can prevent untrusted domains from reaching an inbound authentication interface that uses a hard-coded password, but it leaves the credential exploitable from permitted network paths and does not prevent reuse of outbound hard-coded passwords.

prevents

A.8.28 explicitly prohibits hard-coded passwords in its 'During coding' guidance (item e), so a system under the clause sees fewer instances arise, but the clause mandates a practice rather than a mechanism and the prohibition depends on developer compliance, third-party components, and the rigour of implementation — the same ceiling the owner set for A.8.28 on CWE-502 and CWE-79.

finds

A.8.30's programme includes acceptance testing (item d) and contractual audit rights (item i), which can surface hard-coded passwords in delivered code, but these are a minority of instances — most are caught by the supplier's own development-time testing (A.8.29), which A.8.30 only requires contractually rather than performs itself.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw — and hard-coded passwords do commonly surface as CVEs (CVE-2022-29964, CVE-2021-37555, CVE-2021-35033), so the disclosed share is a real minority but not negligible; the bulk of hard-coded passwords in proprietary first-party code never publishes an advisory and is outside A.8.8's view.

References