CVE-2017-12173
sssd: unsanitized input when searching in local cache database
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · October 3, 2017
Updated · June 30, 2026
Description
It was found that sssd's sysdb_search_user_by_upn_res() function 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.
Statement
This issue affects the versions of sssd as shipped with Red Hat Satellite version 6.0. More recent versions of Satellite no longer ships sssd. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
It is possible to disable manually credential caching :
- Stop the sssd service
- Delete the cache (rm -f /var/lib/sss/db/* /var/log/sssd/*) or manually remove the hashes for the database
- In the sssd configuration file, change cache_credentials to False for each domains
- start the sssd service again
However, tools such as realmd & ipa-client-install might enable credential caching, and should be used with care.
CVSS / CWE
CVSS 3.0 · 4.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE-20 · Improper Input Validation