Raw vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS 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-51629 is a high-severity Use of Hard-coded Password (CWE-259) vulnerability in Dlink Dcs-8300Lhv2 Firmware. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked in the top 10% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to IA-5 (Authenticator Management) and SC-12 (Cryptographic Key Establishment and Management) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-56341
Vulnerability Data
D-Link DCS-8300LHV2 ONVIF Hardcoded PIN Authentication Bypass Vulnerability. This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of D-Link DCS-8300LHV2 IP cameras. Authentication is not required to exploit this vulnerability. The specific flaw exists within the configuration of…
more
the ONVIF API. The issue results from the use of a hardcoded PIN. An attacker can leverage this vulnerability to bypass authentication on the system. Was ZDI-CAN-21492.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Authenticator management requires secure distribution and handling of credentials, structurally discouraging hard-coded values.
Cryptographic key management mandates proper establishment and handling instead of embedding keys in code.
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.
PR.AA-01's credential/key-management processes can reduce the incentive to embed secrets but do not address or detect hard-coded values in source code, so the weakness remains fully possible.
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.24's key management guidance (generation, storage, distribution through proper processes) prevents hard-coded cryptographic keys in first-party code, but the clause addresses cryptography, not authentication credentials, so the password variant of CWE-798 is untouched; third-party and COTS components with embedded credentials are also outside its reach.
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.