9.8

CVE-2023-3326

Network authentication attack via pam_krb5

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 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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Freebsd ≫ Freebsd Version < 12.4
Freebsd ≫ Freebsd Version >= 13.0 < 13.1
Freebsd ≫ Freebsd Version 12.4 Update -
Freebsd ≫ Freebsd Version 12.4 Update p1
Freebsd ≫ Freebsd Version 12.4 Update p2
Freebsd ≫ Freebsd Version 12.4 Update rc2-p1
Freebsd ≫ Freebsd Version 12.4 Update rc2-p2
Freebsd ≫ Freebsd Version 13.1 Update -
Freebsd ≫ Freebsd Version 13.1 Update b1-p1
Freebsd ≫ Freebsd Version 13.1 Update b2-p2
Freebsd ≫ Freebsd Version 13.1 Update p1
Freebsd ≫ Freebsd Version 13.1 Update p2
Freebsd ≫ Freebsd Version 13.1 Update p3
Freebsd ≫ Freebsd Version 13.1 Update p4
Freebsd ≫ Freebsd Version 13.1 Update p5
Freebsd ≫ Freebsd Version 13.1 Update p6
Freebsd ≫ Freebsd Version 13.1 Update p7
Freebsd ≫ Freebsd Version 13.1 Update rc1-p1
Freebsd ≫ Freebsd Version 13.2 Update -
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 1.1% 0.613
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

CWE-303 Incorrect Implementation of Authentication Algorithm

The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc
Vendor Advisory
Mitigation
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:09.pam_krb5.asc
https://security.netapp.com/advisory/ntap-20230714-0005/
Third Party Advisory