{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-3326","id":"CVE-2023-3326","title":"Network authentication attack via pam_krb5","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 vali","descriptionLong":"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.\n","published":"2023-06-22T16:37:51.360Z","updated":"2026-06-17T06:13:49.523Z","reserved":"2023-06-19T16:14:36.133Z","status":"Modified","rejected":false,"assigner":"freebsd","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["FreeBSD"],"affectedProducts":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unaffected","versions":[{"lessThan":"13.2-RELEASE-p1","status":"affected","version":"13.2-RELEASE","versionType":"release"},{"lessThan":"13.1-RELEASE-p8","status":"affected","version":"13.1-RELEASE","versionType":"release"},{"lessThan":"12.4-RELEASE-p3","status":"affected","version":"12.4-RELEASE","versionType":"release"}],"platforms":[]}],"packages":[],"cwes":["CWE-303","CWE-287"],"aliases":[],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc","tags":["vendor-advisory","x_transferred","Mitigation","Vendor Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230714-0005/","tags":["third-party-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:09.pam_krb5.asc","tags":["vendor-advisory","x_transferred","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01098,"epssPercentile":0.66327,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-3326","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3326","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-3326","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-3326","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}