Security Resilience

CVE-2023-3326

Auth Bypass in Freebsd ≤ 12.4

Published
22 June 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.011 66th percentile
Risk Priority 73 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-3326 is a critical-severity Incorrect Implementation of Authentication Algorithm (CWE-303) vulnerability in Freebsd. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked in the top 34% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

pam_krb5 authenticates a user by essentially running kinit with the password, getting a ticket-granting ticket (tgt) from the Kerberos KDC (Key Distribution Center) over the network, as a way to verify the password. However, if a keytab is not provisioned…

more

on the system, pam_krb5 has no way to validate the response from the KDC, and essentially trusts the tgt provided over the network as being valid. In a non-default FreeBSD installation that leverages pam_krb5 for authentication and does not have a keytab provisioned, an attacker that is able to control both the password and the KDC responses can return a valid tgt, allowing authentication to occur for any user on the system.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1021.005 VNC Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
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.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-49414Same product: Freebsd Freebsd
CVE-2026-4748Same product: Freebsd Freebsd
CVE-2026-7270Same product: Freebsd Freebsd
CVE-2024-8178Same product: Freebsd Freebsd
CVE-2023-3494Same product: Freebsd Freebsd
CVE-2026-49429Same product: Freebsd Freebsd
CVE-2026-58095Same product: Freebsd Freebsd
CVE-2026-45252Same product: Freebsd Freebsd
CVE-2026-42512Same product: Freebsd Freebsd
CVE-2026-58081Same product: Freebsd Freebsd

Affected Assets

freebsd
freebsd
12.4, 13.1, 13.2 · ≤ 12.4 · 13.0 — 13.1

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-287

Detects unauthorized successful logons resulting from improper authentication implementations.

addresses: CWE-287

Documented procedures ensure personnel are trained on authentication mechanisms, tangibly lowering the risk of improper authentication being exploited.

addresses: CWE-287

Security awareness training instructs users on secure authentication practices and avoiding credential compromise.

addresses: CWE-287

Training on authentication mechanisms and best practices decreases the occurrence of improper authentication.

addresses: CWE-287

Non-repudiation requires strong authentication mechanisms to irrefutably attribute performed actions to specific individuals or processes.

addresses: CWE-287

Session content review can reveal authentication bypasses or failures in session establishment.

addresses: CWE-287

Review of authentication-related audit records can detect improper authentication mechanisms or bypasses.

addresses: CWE-287

Assessments check authentication mechanisms for correct implementation and effectiveness, reducing successful authentication bypass attempts.

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 require correct implementation of authentication algorithms.

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

Security testing can detect flawed authentication implementations but does not prevent them by itself.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

Secure coding practices reduce the likelihood of incorrect authentication algorithm implementation.

prevents

A.8.30 contracts for secure design, coding and testing practices (8.25–8.29) in outsourced work, which reduces ordinary implementation defects like an incorrectly implemented authentication algorithm the same way those practices do, but the effect is bounded by the fallibility of the practices and the clause's dependence on those other controls being properly implemented — the declared ceiling for A.8.30 on `prevents`.

blocks

Secure authentication control directly requires correct implementation of authentication algorithms.

finds

A.8.8's reach is DISCLOSURE (vendor-published flaws in third-party components) plus the penetration-testing route it names; CWE-303 is primarily a first-party implementation defect whose high-rated detection methods (code review, static analysis) belong to A.8.28/A.8.29, not A.8.8. A minority of instances are found: those in third-party components carrying a published CVE, plus a further slice surfaced by penetration testing where the authentication bypass is observable from outside.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.

References