CVE-2017-12173

NameCVE-2017-12173
DescriptionIt was found that sssd's sysdb_search_user_by_upn_res() function before 1.16.0 did not sanitize requests when querying its local cache and was vulnerable to injection. In a centralized login environment, if a password hash was locally cached for a given user, an authenticated attacker could use this flaw to retrieve it.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs877885

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sssd (PTS)jessie, jessie (lts)1.11.7-3+deb8u2fixed
stretch (security), stretch (lts), stretch1.15.0-3+deb9u2fixed
buster (security), buster, buster (lts)1.16.3-3.2+deb10u2fixed
bullseye2.4.1-2fixed
bookworm2.8.2-4fixed
sid2.9.5-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sssdsourcewheezy(not affected)
sssdsourcejessie(not affected)
sssdsourcestretch1.15.0-3+deb9u1
sssdsource(unstable)1.15.3-2877885

Notes

[jessie] - sssd <not-affected> (Vulnerable code introduced later)
[wheezy] - sssd <not-affected> (Vulnerable code introduced later)
https://bugzilla.redhat.com/show_bug.cgi?id=1498173
Fixed by: https://pagure.io/SSSD/sssd/c/1f2662c8f97c9c0fa250055d4b6750abfc6d0835
Introduced by https://pagure.io/SSSD/sssd/c/7ecb5aea65cb1899f16e7a41bffa93d074defd4a (sssd-1_12_0)

Search for package or bug name: Reporting problems