CVE-2007-2798
Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows…
Check your servers for CVE-2007-2798
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-2798 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows remote authenticated users to execute arbitrary code via a crafted request to rename a principal.
Exploitation
EPSS 7.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.2% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-2798 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-2798RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-2798Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-2798
trivy image --scanners vuln IMAGE | grep CVE-2007-2798
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
52 of 53 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 25894 secunia.com · third party advisory
- 25801 secunia.com · third party advisory
- USN-477-1 ubuntu.com · vendor advisory
- 25911 secunia.com · third party advisory
- 25888 secunia.com · third party advisory
- RHSA-2007:0384 redhat.com · vendor advisory
- 25890 secunia.com · third party advisory
- APPLE-SA-2007-07-31 lists.apple.com · vendor advisory
- 26228 secunia.com · third party advisory
- 26033 secunia.com · third party advisory
- GLSA-200707-11 security.gentoo.org · vendor advisory
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2007-005.txt web.mit.edu
22 more
- 25800 secunia.com · third party advisory
- SSRT100107 h20000.www2.hp.com · vendor advisory
- DSA-1323 debian.org · vendor advisory
- 2007-0021 trustix.org · vendor advisory
- TA07-177A us-cert.gov · third party advisory
- SUSE-SA:2007:038 novell.com · vendor advisory
- 102985 sunsolve.sun.com · vendor advisory
- 25870 secunia.com · third party advisory
- MDKSA-2007:137 mandriva.com · vendor advisory
- 26909 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-1499 issues.rpath.com
- 27706 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=306172 docs.info.apple.com
- RHSA-2007:0562 redhat.com · vendor advisory
- VU#554257 kb.cert.org · third party advisory
- 25814 secunia.com · third party advisory
- 25821 secunia.com · third party advisory
- 25875 secunia.com · third party advisory
- 40346 secunia.com · third party advisory
- https://secure-support.novell.com/KanisaPlatform/Publishing/327/3675615_f.SAL_Public.html secure-support.novell.com
- 26235 secunia.com · third party advisory
- 20070626 Multiple Vendor Kerberos kadmind Rename Principal Buffer Overflow Vulnerability labs.idefense.com · third party advisory
Other references
- 20070920 VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server… lists.grok.org.uk · mailing list
- ADV-2007-2732 vupen.com · vdb entry
- ADV-2007-3229 vupen.com · vdb entry
- 20070629 TSLSA-2007-0021 - kerberos5 securityfocus.com · mailing list
- ADV-2007-2337 vupen.com · vdb entry
- oval:org.mitre.oval:def:1726 oval.cisecurity.org · vdb entry, signature
- ADV-2007-2491 vupen.com · vdb entry
- ADV-2010-1574 vupen.com · vdb entry
- 24653 securityfocus.com · vdb entry
- ADV-2007-2370 vupen.com · vdb entry
- oval:org.mitre.oval:def:7550 oval.cisecurity.org · vdb entry, signature
- kerberos-renameprincipal2svc-bo(35080) exchange.xforce.ibmcloud.com · vdb entry
6 more
- oval:org.mitre.oval:def:9996 oval.cisecurity.org · vdb entry, signature
- 20070628 FLEA-2007-0029-1: krb5 krb5-workstation securityfocus.com · mailing list
- 25159 securityfocus.com · vdb entry
- 20070626 MITKRB5-SA-2007-005: kadmind vulnerable to buffer overflow securityfocus.com · mailing list
- 1018295 securitytracker.com · vdb entry
- 36595 osvdb.org · vdb entry
Source: the record CVE-2007-2798 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse