CVE-2017-12173
published 2018-07-27CVE-2017-12173: It 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…
PriorityP345high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EPSS
1.50%
71.4th percentile
It 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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sssd | < sssd 1.15.3-2 (bookworm) | sssd 1.15.3-2 (bookworm) |
| fedoraproject | sssd | < 1.16.0 | 1.16.0 |
| fedoraproject | sssd | >= 0 < 1.15.3-2 | 1.15.3-2 |
| fedoraproject | sssd | >= 0 < 1.15.3-2 | 1.15.3-2 |
| fedoraproject | sssd | >= 0 < 1.15.3-2 | 1.15.3-2 |
| fedoraproject | sssd | >= 0 < 1.15.3-2 | 1.15.3-2 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_workstation | — | — |
| redhat | enterprise_linux_workstation | — | — |
| sssd | sssd | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
osv8.8HIGH
vendor_debian4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
SSSD vulnerability
vendor_ubuntu·2018-01-10
CVE-2017-12173 SSSD vulnerability
Title: SSSD vulnerability
Summary: SSSD could be made to expose sensitive information.
It was discovered that SSSD incorrectly handled certain inputs when querying
its local cache. An attacker could use this to inject arbitrary code and expose
sensitive information.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
sssd: unsanitized input when searching in local cache database
vendor_redhat·2017-10-03·CVSS 4.3
CVE-2017-12173 [MEDIUM] CWE-20 sssd: unsanitized input when searching in local cache database
sssd: unsanitized input when searching in local cache database
It 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.
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 r
Debian
CVE-2017-12173: sssd - It was found that sssd's sysdb_search_user_by_upn_res() function before 1.16.0 d...
vendor_debian·2017·CVSS 4.3
CVE-2017-12173 [MEDIUM] CVE-2017-12173: sssd - It was found that sssd's sysdb_search_user_by_upn_res() function before 1.16.0 d...
It 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.
Scope: local
bookworm: resolved (fixed in 1.15.3-2)
bullseye: resolved (fixed in 1.15.3-2)
forky: resolved (fixed in 1.15.3-2)
sid: resolved (fixed in 1.15.3-2)
trixie: resolved (fixed in 1.15.3-2)
GHSA
GHSA-w83x-jcpq-6cr7: It was found that sssd's sysdb_search_user_by_upn_res() function before 1
ghsa_unreviewed·2022-05-24
CVE-2017-12173 [HIGH] CWE-20 GHSA-w83x-jcpq-6cr7: It was found that sssd's sysdb_search_user_by_upn_res() function before 1
It 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.
OSV
CVE-2017-12173: It was found that sssd's sysdb_search_user_by_upn_res() function before 1
osv·2018-07-27·CVSS 8.8
CVE-2017-12173 [HIGH] CVE-2017-12173: It was found that sssd's sysdb_search_user_by_upn_res() function before 1
It 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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-12173 sssd: unsanitized input when searching in local cache database [fedora-all]
bugzilla·2017-10-06·CVSS 4.3
CVE-2017-12173 [MEDIUM] CVE-2017-12173 sssd: unsanitized input when searching in local cache database [fedora-all]
CVE-2017-12173 sssd: unsanitized input when searching in local cache database [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppo
Bugzilla
CVE-2017-12173 sssd: unsanitized input when searching in local cache database
bugzilla·2017-10-03·CVSS 4.3
CVE-2017-12173 [MEDIUM] CVE-2017-12173 sssd: unsanitized input when searching in local cache database
CVE-2017-12173 sssd: unsanitized input when searching in local cache database
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=user_name)' are used. However, in sysdb_search_user_by_upn_res(), 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.
Discussion:
Is there a reference to "upstream" issue and fixing commits?
---
Created sssd tracking bugs for this issue:
Affects: fedora-all [bug 1499354]
---
Acknowledgments:
Name: Sumit Bose (Red Hat)
---
(In reply to Salvat
https://access.redhat.com/errata/RHSA-2017:3379https://access.redhat.com/errata/RHSA-2018:1877https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12173https://access.redhat.com/errata/RHSA-2017:3379https://access.redhat.com/errata/RHSA-2018:1877https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12173
2018-07-27
Published