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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1027-1, DSA-3909-1, DSA-3912-1
NVD severitymedium (attack range: remote)
Debian Bugs868208, 868209

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
heimdal (PTS)wheezy1.6~git20120403+dfsg1-2vulnerable
wheezy (security)1.6~git20120403+dfsg1-2+deb7u1fixed
jessie (security), jessie1.6~rc2+dfsg-9+deb8u1fixed
stretch (security), stretch7.1.0+dfsg-13+deb9u1fixed
buster, sid7.4.0.dfsg.1-1fixed
samba (PTS)wheezy2:3.6.6-6+deb7u7fixed
wheezy (security)2:3.6.6-6+deb7u13fixed
jessie2:4.2.14+dfsg-0+deb8u6vulnerable
jessie (security)2:4.2.14+dfsg-0+deb8u7fixed
stretch2:4.5.8+dfsg-2vulnerable
stretch (security)2:4.5.8+dfsg-2+deb9u1fixed
buster2:4.6.5+dfsg-4fixed
sid2:4.6.5+dfsg-7fixed
samba4 (PTS)wheezy4.0.0~beta2+dfsg1-3.2+deb7u2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
heimdalsource(unstable)7.4.0.dfsg.1-1medium868208
heimdalsourcejessie1.6~rc2+dfsg-9+deb8u1mediumDSA-3912-1
heimdalsourcestretch7.1.0+dfsg-13+deb9u1mediumDSA-3912-1
heimdalsourcewheezy1.6~git20120403+dfsg1-2+deb7u1mediumDLA-1027-1
sambasource(unstable)2:4.6.5+dfsg-4medium868209
sambasourcejessie2:4.2.14+dfsg-0+deb8u7mediumDSA-3909-1
sambasourcestretch2:4.5.8+dfsg-2+deb9u1mediumDSA-3909-1
sambasourcewheezy(not affected)
samba4source(unstable)(unfixed)medium
samba4sourcewheezy(not affected)

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