CVE-2017-12173: Input Validation

Published Oct 3, 2017
·
Updated

It was found that sssd's sysdbsearchuserbyupnres() 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.

Other sources

SSSD stores its cached data in an LDAP like local database file using libldb. To lookup cached data LDAP search filters like '(objectClass=user)(name=username)' are used. However, in sysdbsearchuserbyupnres(), the input is not sanitized and allows to manipulate the search filter for cache lookups.

This would allow a logged in user to discover the password hash of a different user. The password hash would be cached after a successful authentication of the corresponding user.

Red Hat

Affected Software

11 affected componentsFixes available
redhat/sssd<1.16.0
1.16.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Fedoraproject Sssd<1.16.0

Event History

Jul 27, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-12173?

CVE-2017-12173 is considered a high severity vulnerability due to its potential for injection attacks.

2

How do I fix CVE-2017-12173?

To fix CVE-2017-12173, upgrade the sssd package to version 1.16.0 or later.

3

Which systems are affected by CVE-2017-12173?

CVE-2017-12173 affects Red Hat Enterprise Linux desktop and server versions 6.0 and 7.0, among other derivatives.

4

Can CVE-2017-12173 be exploited by an unauthenticated user?

No, CVE-2017-12173 requires an authenticated attacker to exploit the vulnerability.

5

What is the main cause of CVE-2017-12173?

CVE-2017-12173 is caused by inadequate sanitization of requests in the sysdb_search_user_by_upn_res() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203