CVE-2023-3326
FreeBSD pam_krb5 Kerberos Authentication Bypass
Description
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.
INFO
Published Date :
June 22, 2023, 5:15 p.m.
Last Modified :
Aug. 1, 2023, 11:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-3326
.
URL | Resource |
---|---|
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc | Mitigation Vendor Advisory |
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:09.pam_krb5.asc | |
https://security.netapp.com/advisory/ntap-20230714-0005/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-3326
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-3326
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Aug. 01, 2023
Action Type Old Value New Value Added Reference https://security.FreeBSD.org/advisories/FreeBSD-SA-23:09.pam_krb5.asc [No Types Assigned] -
Modified Analysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20230714-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20230714-0005/ Third Party Advisory -
CVE Modified by [email protected]
Jul. 18, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230714-0005/ [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 30, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc No Types Assigned https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc Mitigation, Vendor Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* versions up to (excluding) 12.4 *cpe:2.3:o:freebsd:freebsd:12.4:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:12.4:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:12.4:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:12.4:rc2-p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:12.4:rc2-p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* versions from (including) 13.0 up to (excluding) 13.1 *cpe:2.3:o:freebsd:freebsd:13.1:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:b1-p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:b2-p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p4:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p6:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:p7:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.1:rc1-p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-3326
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-3326
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.20 }} 0.02%
score
0.58058
percentile