CVE-2017-11103

NameCVE-2017-11103
DescriptionHeimdal before 7.4 allows remote attackers to impersonate services with Orpheus' Lyre attacks because it obtains service-principal names in a way that violates the Kerberos 5 protocol specification. In _krb5_extract_ticket() the KDC-REP service name must be obtained from the encrypted version stored in 'enc_part' instead of the unencrypted version stored in 'ticket'. Use of the unencrypted version provides an opportunity for successful server impersonation and other attacks. NOTE: this CVE is only for Heimdal and other products that embed Heimdal code; it does not apply to other instances in which this part of the Kerberos 5 protocol specification is violated.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1027-1, DSA-3909-1, DSA-3912-1
Debian Bugs868208, 868209

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
heimdal (PTS)buster7.5.0+dfsg-3fixed
buster (security)7.5.0+dfsg-3+deb10u2fixed
bullseye (security), bullseye7.7.0+dfsg-2+deb11u3fixed
bookworm7.8.git20221117.28daf24+dfsg-2fixed
trixie7.8.git20221117.28daf24+dfsg-4fixed
sid7.8.git20221117.28daf24+dfsg-5fixed
samba (PTS)buster2:4.9.5+dfsg-5+deb10u3fixed
buster (security)2:4.9.5+dfsg-5+deb10u4fixed
bullseye (security), bullseye2:4.13.13+dfsg-1~deb11u5fixed
bookworm, bookworm (security)2:4.17.12+dfsg-0+deb12u1fixed
trixie2:4.19.5+dfsg-1fixed
sid2:4.19.5+dfsg-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
heimdalsourcewheezy1.6~git20120403+dfsg1-2+deb7u1DLA-1027-1
heimdalsourcejessie1.6~rc2+dfsg-9+deb8u1DSA-3912-1
heimdalsourcestretch7.1.0+dfsg-13+deb9u1DSA-3912-1
heimdalsource(unstable)7.4.0.dfsg.1-1868208
sambasourcewheezy(not affected)
sambasourcejessie2:4.2.14+dfsg-0+deb8u7DSA-3909-1
sambasourcestretch2:4.5.8+dfsg-2+deb9u1DSA-3909-1
sambasource(unstable)2:4.6.5+dfsg-4868209
samba4sourcewheezy(not affected)
samba4source(unstable)(unfixed)

Notes

[wheezy] - samba <not-affected> (Heimdal is only used in 4.x, wheezy ships 3.6.6)
[wheezy] - samba4 <not-affected> (dynamically linked against system heimdal)
https://orpheus-lyre.info/
https://github.com/heimdal/heimdal/commit/6dd3eb836bbb80a00ffced4ad57077a1cdf227ea
samba's source package embeds heimdal but the binary is statically linked to src:heimdal
https://www.samba.org/samba/security/CVE-2017-11103.html
Upstream Samba Bug: https://bugzilla.samba.org/show_bug.cgi?id=12894

Search for package or bug name: Reporting problems