CVE-2023-5222
Exposed Creds in Viessmann Vitogate 300 Firmware ≤ 2.1.3.0
Raw vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2023-57551
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
CVEs Like This One
Affected Assets
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.
Changing default authenticators prior to first use directly prevents use of hard-coded passwords.
Shared threat data frequently highlights products or deployments still using hard-coded passwords, enabling remediation that directly blocks credential-based attacks.
Background checks and authorization requirements decrease the probability that a developer will hard-code passwords for later unauthorized access.
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.
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.
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.
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.
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.
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.
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.
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.