CVE-2023-22844
Exposed Creds in Milesightvpn 2.0.2
Raw vector
CVSS:3.1/AV:N/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-22844 is a high-severity Use of Hard-coded Cryptographic Key (CWE-321) vulnerability in Milesightvpn. Its CVSS base score is 7.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Remote Services (T1021); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-26955
Vulnerability Data
An authentication bypass vulnerability exists in the requestHandlers.js verifyToken functionality of Milesight VPN v2.0.2. A specially-crafted network request can lead to authentication bypass. An attacker can send a network request to trigger this vulnerability.
- 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.
Supply chain protection includes scrutiny of cryptographic implementations, reducing hard-coded keys planted by untrusted vendors.
Functional and assurance requirements specified in acquisition can prohibit hard-coded cryptographic keys in delivered products.
Proper key establishment and management processes directly preclude embedding static cryptographic keys in source code or binaries.
Approved PKI issuance and trust stores replace ad-hoc or hard-coded keys with properly managed, signed certificates.
Assessments can uncover and prevent suppliers from shipping components that contain hard-coded cryptographic keys.
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 activities such as code review and secret scanning directly prevent embedding static keys.
Data-at-rest protection policies require proper key management and therefore discourage hard-coded keys.
Data-in-transit protection similarly depends on non-hard-coded keys for encryption.
Configuration baselines and reviews can prohibit hard-coded keys in deployed artifacts.
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.24's key management section explicitly mandates proper key generation, storage, distribution, and lifecycle processes — the antithesis of hard-coding keys into products — so a well-implemented cryptography policy prevents hard-coded keys in anything the organization designs or builds; the bounded remainder is third-party, COTS, and legacy components that arrive with keys already embedded, mirroring the CWE-328 anchor.
A.8.29's SOURCE + RUNTIME reach finds hard-coded cryptographic keys in first-party source via SAST, code review, and penetration testing — the same mechanism that graded A.8.29 finds CWE-798 = mostly; the bounded remainder is keys assembled at build time, baked into images as configuration, or shipped inside binary-only third-party components.
A.8.28 explicitly prohibits hard-coded passwords as an example of insecure design techniques and mandates secure coding standards that would cover hard-coded cryptographic keys, but as a practice-based control it is fallible and depends on developer compliance, with the strongest detection coming from A.8.29 security testing.
A.8.8's reach is DISCLOSURE: it finds hard-coded keys only where a vendor has published a CVE/advisory for a third-party component in the operator's inventory. CWE-321 does surface as CVEs (multiple observed examples), so the disclosed third-party share is real, but it is a minority of all instances — first-party code is outside A.8.8's reach (that is A.8.28/A.8.29), and many hard-coded keys remain unpublished. `full` is out of reach on disclosure-only scanning.