CVE-2004-1189
What it is
The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does not properly track the password policy's history count and the maximum number of keys, which can cause an array index out-of-bounds error and may allow authenticated users to execute arbitrary code via a heap-based buffer overflow.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- Mit Kerberos 5 ≤ 1.3.5
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-1189.md and follow it. Check whether this project is affected by CVE-2004-1189. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000917
- http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
- http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
- http://marc.info/?l=bugtraq&m=110358420909358&w=2
- http://marc.info/?l=bugtraq&m=110548298407590&w=2
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:156
- http://www.redhat.com/support/errata/RHSA-2005-012.html
- http://www.redhat.com/support/errata/RHSA-2005-045.html
- http://www.trustix.org/errata/2004/0069
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18621
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11911
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000917
- http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
- http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
- http://marc.info/?l=bugtraq&m=110358420909358&w=2
- http://marc.info/?l=bugtraq&m=110548298407590&w=2
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:156
- http://www.redhat.com/support/errata/RHSA-2005-012.html
- http://www.redhat.com/support/errata/RHSA-2005-045.html
- http://www.trustix.org/errata/2004/0069
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18621
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11911